Skip to content

Commit 7c6a852

Browse files
resolved tag not found error
1 parent 73fedd3 commit 7c6a852

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)