Skip to content

Commit

Permalink
chore(cd): push-image-registry-url vars.REGISTRY_GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
guesant committed Dec 1, 2024
1 parent 23db698 commit 78975bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
setup-qemu: "false"
push-image: "true"
push-image-registry-url: ${{ vars.REGISTRY_GHCR == 'true' && 'ghcr.io' || secrets.REGISTRY_URL}}
push-image-registry-url: ${{ vars.REGISTRY_GHCR == 'true' && 'ghcr.io' || secrets.REGISTRY_URL }}
push-image-registry-username: ${{ vars.REGISTRY_GHCR == 'true' && github.actor || secrets.REGISTRY_USERNAME }}
push-image-registry-token: ${{ vars.REGISTRY_GHCR == 'true' && secrets.GITHUB_TOKEN || secrets.REGISTRY_TOKEN }}

Expand All @@ -37,7 +37,7 @@ jobs:
build-target-tag: "sso-runtime"

push-image: "true"
push-image-registry-url: ${{ secrets.REGISTRY_URL }}
push-image-registry-url: ${{ vars.REGISTRY_GHCR == 'true' && 'ghcr.io' || secrets.REGISTRY_URL }}

cd_deploy:
name: Deploy to Cluster
Expand Down

0 comments on commit 78975bb

Please sign in to comment.