Skip to content

Commit 4a5ca95

Browse files
Merge pull request #445 from microsoft/fix/error-tag-not-found
fix: tag not found error
2 parents 73fedd3 + 7c6a852 commit 4a5ca95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build-and-push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
id: registry
4949
run: |
5050
if [[ "${{ github.ref_name }}" == "main" ]]; then
51-
echo "ext_registry=${{ secrets.ACR_LOGIN_SERVER }}" >> $GITHUB_OUTPUT
52-
echo "int_registry=${{ secrets.ACR_DEV_LOGIN_SERVER }}" >> $GITHUB_OUTPUT
51+
echo "ext_registry=${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io'}}" >> $GITHUB_OUTPUT
52+
echo "int_registry=${{ secrets.ACR_DEV_LOGIN_SERVER || 'acrlogin.azurecr.io'}}" >> $GITHUB_OUTPUT
5353
else
54-
echo "int_registry=${{ secrets.ACR_DEV_LOGIN_SERVER }}" >> $GITHUB_OUTPUT
54+
echo "int_registry=${{ secrets.ACR_DEV_LOGIN_SERVER || 'acrlogin.azurecr.io'}}" >> $GITHUB_OUTPUT
5555
fi
5656
5757
- name: Determine Tag Name Based on Branch

0 commit comments

Comments
 (0)