From 1c8d9daffcbc59d5adce31e72b5fb154a10408ca Mon Sep 17 00:00:00 2001 From: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com> Date: Sat, 31 May 2025 14:53:26 +0200 Subject: [PATCH] Fix `github.repository_owner` not being upper-case --- .github/workflows/apps.yml | 8 ++++++-- .github/workflows/base.yml | 8 ++++++-- .github/workflows/bot.yml | 10 +++++++--- .github/workflows/box64.yml | 8 ++++++-- .github/workflows/bun.yml | 8 ++++++-- .github/workflows/cassandra.yml | 8 ++++++-- .github/workflows/dart.yml | 8 ++++++-- .github/workflows/dotnet.yml | 8 ++++++-- .github/workflows/elixir.yml | 8 ++++++-- .github/workflows/erlang.yml | 8 ++++++-- .github/workflows/games.yml | 16 ++++++++++++---- .github/workflows/go.yml | 8 ++++++-- .github/workflows/installers.yml | 8 ++++++-- .github/workflows/java.yml | 8 ++++++-- .github/workflows/mariadb.yml | 8 ++++++-- .github/workflows/mongodb.yml | 8 ++++++-- .github/workflows/mono.yml | 8 ++++++-- .github/workflows/nodejs.yml | 8 ++++++-- .github/workflows/postgres.yml | 8 ++++++-- .github/workflows/python.yml | 8 ++++++-- .github/workflows/redis.yml | 8 ++++++-- .github/workflows/rust.yml | 8 ++++++-- .github/workflows/steamcmd.yml | 8 ++++++-- .github/workflows/voice.yml | 16 ++++++++++++---- .github/workflows/wine.yml | 8 ++++++-- 25 files changed, 163 insertions(+), 55 deletions(-) diff --git a/.github/workflows/apps.yml b/.github/workflows/apps.yml index 24241e1..83c563d 100644 --- a/.github/workflows/apps.yml +++ b/.github/workflows/apps.yml @@ -29,10 +29,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 @@ -42,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) || '' }} diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index c521a7f..54571c8 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -28,10 +28,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -40,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) || '' }} diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 00c550e..3a98e0c 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -39,10 +39,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -53,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: | @@ -77,7 +81,7 @@ jobs: # - uses: docker/login-action@v1 # with: # registry: ghcr.io - # username: ${{ github.repository_owner }} + # username: ${{ steps.lower-repo.outputs.repository }} # password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} # - uses: docker/build-push-action@v6 # with: diff --git a/.github/workflows/box64.yml b/.github/workflows/box64.yml index acc75b0..e1c49c1 100644 --- a/.github/workflows/box64.yml +++ b/.github/workflows/box64.yml @@ -26,10 +26,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -38,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) || '' }} diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index a031cd6..b40a8df 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -27,10 +27,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -39,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) || '' }} diff --git a/.github/workflows/cassandra.yml b/.github/workflows/cassandra.yml index d78e009..37558b0 100644 --- a/.github/workflows/cassandra.yml +++ b/.github/workflows/cassandra.yml @@ -26,10 +26,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -38,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) || '' }} diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 86a5a99..a9db278 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -31,10 +31,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -43,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) || '' }} diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index a93ffdf..dcf8583 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -33,10 +33,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -45,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) || '' }} diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index bf71f78..0037755 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -30,10 +30,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -42,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) || '' }} diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 507d0fe..25e0b5d 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -29,10 +29,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -41,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) || '' }} diff --git a/.github/workflows/games.yml b/.github/workflows/games.yml index 8817b76..5d50fd1 100644 --- a/.github/workflows/games.yml +++ b/.github/workflows/games.yml @@ -34,10 +34,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -46,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 }}" @@ -66,10 +70,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -78,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) || '' }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7bad5ce..a87a444 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,10 +34,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -46,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) || '' }} diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index 17ed27e..924fb73 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -28,10 +28,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -40,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) || '' }} diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 6a89e46..bc6775e 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -35,10 +35,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -47,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) || '' }} diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 8430640..f7367c4 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -36,10 +36,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -48,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) || '' }} diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index 8bae1ee..e2c288b 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -30,10 +30,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -42,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) || '' }} diff --git a/.github/workflows/mono.yml b/.github/workflows/mono.yml index 2db7960..c181ec4 100644 --- a/.github/workflows/mono.yml +++ b/.github/workflows/mono.yml @@ -25,10 +25,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -37,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) || '' }} diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 5510bb3..57a2d12 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,10 +37,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -49,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) || '' }} diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 1f8cae8..3c5aa6b 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -33,10 +33,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -45,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) || '' }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b455cfe..4370d4e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -34,10 +34,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -46,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) || '' }} diff --git a/.github/workflows/redis.yml b/.github/workflows/redis.yml index 7730cfd..7c1a8eb 100644 --- a/.github/workflows/redis.yml +++ b/.github/workflows/redis.yml @@ -29,10 +29,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -41,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) || '' }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e1f1e0f..8b997d5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,10 +29,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -41,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) || '' }} diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml index 24e10a3..e59d4ea 100644 --- a/.github/workflows/steamcmd.yml +++ b/.github/workflows/steamcmd.yml @@ -30,10 +30,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -42,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) || '' }} diff --git a/.github/workflows/voice.yml b/.github/workflows/voice.yml index 75f20f3..e757a08 100644 --- a/.github/workflows/voice.yml +++ b/.github/workflows/voice.yml @@ -25,10 +25,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -37,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) || '' }} @@ -57,10 +61,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -69,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) || '' }} diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml index 2187a2f..0a10780 100644 --- a/.github/workflows/wine.yml +++ b/.github/workflows/wine.yml @@ -31,10 +31,14 @@ 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 }} + username: ${{ steps.lower-repo.outputs.repository }} password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: @@ -43,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) || '' }}