Skip to content

Commit 95301f1

Browse files
committed
- another fix for branch filter
Signed-off-by: Vincent Biret <[email protected]>
1 parent 22308bc commit 95301f1

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)