Skip to content

Commit 8076ddf

Browse files
modify code
1 parent 0467198 commit 8076ddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: docker/setup-buildx-action@v1
3333

3434
- name: Log in to Azure Container Registry
35+
if: ${{ (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix') }}
3536
uses: azure/docker-login@v2
3637
with:
3738
login-server: ${{ secrets.ACR_LOGIN_SERVER }}

0 commit comments

Comments
 (0)