Merge pull request #306 from C0D3-M4513R/fix/github_owner_lowercase

Fix `github.repository_owner` not being lower-case and Fallback to default `GITHUB_TOKEN`, if `REGISTRY_TOKEN` does not exist
This commit is contained in:
Michael (Parker) Parker
2025-06-09 18:52:16 -04:00
committed by GitHub
25 changed files with 266 additions and 83 deletions

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- apps/**
permissions:
packages: write
jobs:
push:
name: "yolks:apps_${{ matrix.app }}"
@@ -26,11 +29,15 @@ jobs:
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
@@ -39,5 +46,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/apps:${{ matrix.app }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/apps:${{ matrix.app }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/apps:{0}', matrix.app) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- oses/**
permissions:
packages: write
jobs:
push:
name: "yolks:${{ matrix.oses }}"
@@ -25,11 +28,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./oses/${{ matrix.oses }}
@@ -37,5 +44,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:${{ matrix.oses }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:${{ matrix.oses }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:{0}', matrix.oses) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- bot/**
permissions:
packages: write
jobs:
pushArm:
name: "yolks:bot_${{ matrix.tag }}"
@@ -36,11 +39,15 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./bot/${{ matrix.tag }}
@@ -50,7 +57,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:bot_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:bot_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:bot_{0}', matrix.tag) || '' }}
- name: Move cache
run: |
@@ -74,8 +81,8 @@ jobs:
# - uses: docker/login-action@v1
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.REGISTRY_TOKEN }}
# username: ${{ steps.lower-repo.outputs.repository }}
# password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
# - uses: docker/build-push-action@v6
# with:
# context: ./bot/${{ matrix.tag }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- box64/**
permissions:
packages: write
jobs:
push:
name: "yolks:${{ matrix.tag }}"
@@ -23,11 +26,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./box64
@@ -35,5 +42,5 @@ jobs:
platforms: linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- bun/**
permissions:
packages: write
jobs:
push:
name: "yolks:bun_${{ matrix.tag }}"
@@ -24,11 +27,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./bun
@@ -36,5 +43,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:bun_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:bun_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:bun_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- cassandra/**
permissions:
packages: write
jobs:
push:
name: "yolks:cassandra_${{ matrix.tag }}"
@@ -23,11 +26,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./cassandra
@@ -35,5 +42,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:cassandra_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:cassandra_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:cassandra_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- dart/**
permissions:
packages: write
jobs:
push:
name: "yolks:dart_${{ matrix.tag }}"
@@ -28,11 +31,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./dart
@@ -40,5 +47,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:dart_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:dart_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:dart_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- dotnet/**
permissions:
packages: write
jobs:
push:
name: "yolks:dotnet_${{ matrix.tag }}"
@@ -30,11 +33,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./dotnet
@@ -42,5 +49,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:dotnet_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:dotnet_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:dotnet_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- elixir/**
permissions:
packages: write
jobs:
push:
name: "yolks:elixir_${{ matrix.tag }}"
@@ -27,11 +30,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./elixir
@@ -39,5 +46,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:elixir_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:elixir_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:elixir_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- erlang/**
permissions:
packages: write
jobs:
push:
name: "yolks:erlang_${{ matrix.tag }}"
@@ -26,11 +29,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./erlang
@@ -38,5 +45,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:erlang_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:erlang_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:erlang_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- games/**
permissions:
packages: write
jobs:
pushAMD64:
name: "games_AMD64:${{ matrix.game }}"
@@ -31,11 +34,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./games/${{ matrix.game }}
@@ -43,7 +50,7 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/games:${{ matrix.game }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/games:{0}', matrix.game) || '' }}
pushAll:
name: "games_All:${{ matrix.game }}"
@@ -63,11 +70,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./games/${{ matrix.game }}
@@ -75,5 +86,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/games:${{ matrix.game }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/games:{0}', matrix.game) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- go/**
permissions:
packages: write
jobs:
push:
name: "yolks:go_${{ matrix.tag }}"
@@ -31,11 +34,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./go
@@ -43,5 +50,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:go_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:go_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:go_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- installers/**
permissions:
packages: write
jobs:
push:
name: "installers:{{ matrix.tag }}"
@@ -25,11 +28,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./installers
@@ -37,5 +44,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/installers:${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/installers:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/installers:{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- java/**
permissions:
packages: write
jobs:
push:
name: "yolks:java_${{ matrix.tag }}"
@@ -32,11 +35,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./java
@@ -44,5 +51,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:java_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:java_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:java_{0}', matrix.tag) || '' }}

View File

@@ -9,6 +9,9 @@ on:
- master
paths:
- mariadb/**
permissions:
packages: write
jobs:
push:
name: "yolks:mariadb_${{ matrix.tag }}"
@@ -33,11 +36,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./mariadb
@@ -45,5 +52,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mariadb_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:mariadb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mariadb_{0}', matrix.tag) || '' }}

View File

@@ -9,6 +9,9 @@ on:
- master
paths:
- mongodb/**
permissions:
packages: write
jobs:
push:
name: "yolks:mongodb_${{ matrix.tag }}"
@@ -27,11 +30,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./mongodb
@@ -39,5 +46,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mongodb_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:mongodb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mongodb_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- mono/**
permissions:
packages: write
jobs:
push:
name: "yolks:mono_${{ matrix.tag }}"
@@ -22,11 +25,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./mono
@@ -34,5 +41,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mono_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:mono_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mono_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- nodejs/**
permissions:
packages: write
jobs:
push:
name: "yolks:nodejs_${{ matrix.tag }}"
@@ -34,11 +37,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./nodejs
@@ -46,5 +53,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:nodejs_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:nodejs_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:nodejs_{0}', matrix.tag) || '' }}

View File

@@ -9,6 +9,9 @@ on:
- master
paths:
- postgres/**
permissions:
packages: write
jobs:
push:
name: "yolks:postgres_${{ matrix.tag }}"
@@ -30,11 +33,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./postgres
@@ -42,5 +49,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:postgres_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:postgres_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:postgres_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- python/**
permissions:
packages: write
jobs:
push:
name: "yolks:python_${{ matrix.tag }}"
@@ -31,11 +34,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./python
@@ -43,5 +50,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:python_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:python_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:python_{0}', matrix.tag) || '' }}

View File

@@ -9,6 +9,9 @@ on:
- master
paths:
- redis/**
permissions:
packages: write
jobs:
push:
name: "yolks:redis_${{ matrix.tag }}"
@@ -26,11 +29,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./redis
@@ -38,5 +45,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:redis_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:redis_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:redis_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- rust/**
permissions:
packages: write
jobs:
push:
name: "yolks:rust_${{ matrix.tag }}"
@@ -26,11 +29,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./rust
@@ -38,5 +45,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:rust_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:rust_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:rust_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- steamcmd/**
permissions:
packages: write
jobs:
push:
name: "steamcmd:${{ matrix.distro }}"
@@ -27,11 +30,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./steamcmd
@@ -39,5 +46,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/steamcmd:${{ matrix.distro }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/steamcmd:${{ matrix.distro }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/steamcmd:{0}', matrix.distro) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- voice/**
permissions:
packages: write
jobs:
pushx64:
name: "yolks:voice_${{ matrix.tag }}"
@@ -22,11 +25,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./voice/${{ matrix.tag }}
@@ -34,7 +41,7 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:voice_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:voice_{0}', matrix.tag) || '' }}
@@ -54,11 +61,15 @@ jobs:
with:
version: "v0.8.2"
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./voice/${{ matrix.tag }}
@@ -66,5 +77,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:voice_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:voice_{0}', matrix.tag) || '' }}

View File

@@ -8,6 +8,9 @@ on:
- master
paths:
- wine/**
permissions:
packages: write
jobs:
push:
name: "yolks:wine_${{ matrix.tag }}"
@@ -28,11 +31,15 @@ jobs:
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ steps.lower-repo.outputs.repository }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: ./wine
@@ -40,5 +47,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:wine_${{ matrix.tag }}
ghcr.io/${{ steps.lower-repo.outputs.repository }}/yolks:wine_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:wine_{0}', matrix.tag) || '' }}