Skip to content

Commit 98877ba

Browse files
authored
Merge pull request #917 from microsoft/vnext
docker workflow fix
2 parents 5fe88e8 + 76681b0 commit 98877ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
shell: pwsh
3030
id: getversion
3131
- name: Push to GitHub Packages - Nightly
32-
if: contains(github.ref, 'refs/head/vnext')
32+
if: ${{ github.ref == 'refs/heads/vnext' }}
3333
uses: docker/[email protected]
3434
with:
3535
push: true
3636
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly
3737
- name: Push to GitHub Packages - Release
38-
if: contains(github.ref, 'refs/head/master')
38+
if: ${{ github.ref == 'refs/heads/master' }}
3939
uses: docker/[email protected]
4040
with:
4141
push: true

0 commit comments

Comments
 (0)