Skip to content

Commit

Permalink
Fix condition for ACR image push
Browse files Browse the repository at this point in the history
  • Loading branch information
korbelm authored Jan 17, 2025
1 parent 976f632 commit 1860414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
push: ${{ inputs.push_to_registry == true }}
platforms: linux/amd64,linux/arm64
tags: |
${{ vars.ACR_REGISTRY_URL == true && format('{0}/mobile-utility-server:{1}{2}-{3}', vars.ACR_REPOSITORY, env.REVISION, env.TIMESTAMP, github.sha) || '' }}
${{ vars.ACR_REGISTRY_URL != '' && format('{0}/mobile-utility-server:{1}{2}-{3}', vars.ACR_REPOSITORY, env.REVISION, env.TIMESTAMP, github.sha) || '' }}
${{ vars.DISTRIBUTION_REGISTRY_URL != '' && format('{0}/mobile-utility-server:{1}{2}-{3}', vars.DISTRIBUTION_REPOSITORY, env.REVISION, env.TIMESTAMP, github.sha) || '' }}
file: ./deploy/dockerfile/runtime/Dockerfile
context: .
Expand Down

0 comments on commit 1860414

Please sign in to comment.