replace $\{\{ \}\} with format() since we are already in a statement

This commit is contained in:
RMartinOscar
2025-02-16 00:46:37 +00:00
parent 6245ae5002
commit 26276c4034
25 changed files with 28 additions and 28 deletions

View File

@@ -40,4 +40,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/apps:${{ matrix.app }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/apps:${{ matrix.app }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/apps:{0}', matrix.app) || '' }}

View File

@@ -38,4 +38,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:${{ matrix.oses }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:${{ matrix.oses }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:{0}', matrix.oses) || '' }}

View File

@@ -51,7 +51,7 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:bot_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:bot_{0}', matrix.tag) || '' }}
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
@@ -83,4 +83,4 @@ jobs:
# platforms: linux/amd64
# push: true
# tags: |
# ${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}' || '' }}
# ${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:bot_{0}', matrix.tag) || '' }}

View File

@@ -36,4 +36,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:{0}', matrix.tag) || '' }}

View File

@@ -37,4 +37,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:bun_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:bun_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:bun_{0}', matrix.tag) || '' }}

View File

@@ -36,4 +36,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:cassandra_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:cassandra_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:cassandra_{0}', matrix.tag) || '' }}

View File

@@ -41,4 +41,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:dart_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:dart_{0}', matrix.tag) || '' }}

View File

@@ -43,4 +43,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:dotnet_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:dotnet_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:dotnet_{0}', matrix.tag) || '' }}

View File

@@ -40,4 +40,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:elixir_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:elixir_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:elixir_{0}', matrix.tag) || '' }}

View File

@@ -39,4 +39,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:erlang_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:erlang_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:erlang_{0}', matrix.tag) || '' }}

View File

@@ -44,7 +44,7 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/games:${{ matrix.game }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/games:{0}', matrix.game) || '' }}
pushAll:
name: "games_All:${{ matrix.game }}"
runs-on: ubuntu-latest
@@ -76,4 +76,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/games:${{ matrix.game }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/games:{0}', matrix.game) || '' }}

View File

@@ -44,4 +44,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:go_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:go_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:go_{0}', matrix.tag) || '' }}

View File

@@ -38,4 +38,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/installers:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/installers:${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/installers:{0}', matrix.tag) || '' }}

View File

@@ -45,4 +45,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:java_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:java_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:java_{0}', matrix.tag) || '' }}

View File

@@ -46,4 +46,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mariadb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:mariadb_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mariadb_{0}', matrix.tag) || '' }}

View File

@@ -40,4 +40,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mongodb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:mongodb_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mongodb_{0}', matrix.tag) || '' }}

View File

@@ -35,4 +35,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:mono_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:mono_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:mono_{0}', matrix.tag) || '' }}

View File

@@ -46,4 +46,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:nodejs_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:nodejs_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:nodejs_{0}', matrix.tag) || '' }}

View File

@@ -43,4 +43,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:postgres_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:postgres_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:postgres_{0}', matrix.tag) || '' }}

View File

@@ -44,4 +44,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:python_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:python_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:python_{0}', matrix.tag) || '' }}

View File

@@ -39,4 +39,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:redis_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:redis_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:redis_{0}', matrix.tag) || '' }}

View File

@@ -39,4 +39,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:rust_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:rust_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:rust_{0}', matrix.tag) || '' }}

View File

@@ -40,4 +40,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/steamcmd:${{ matrix.distro }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/steamcmd:${{ matrix.distro }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/steamcmd:{0}', matrix.distro) || '' }}

View File

@@ -35,7 +35,7 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:voice_{0}', matrix.tag) || '' }}
pushx64_arm64:
@@ -67,4 +67,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:voice_{0}', matrix.tag) || '' }}

View File

@@ -41,4 +41,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/yolks:wine_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && 'ghcr.io/parkervcp/yolks:wine_${{ matrix.tag }}' || '' }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/parkervcp/yolks:wine_{0}', matrix.tag) || '' }}