Skip to content

Commit

Permalink
Don't push images on pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddunkin committed Jan 31, 2024
1 parent f5d1583 commit eefca2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
working-directory: windows

- name: Push Docker image
if: ${{ github.event_name != 'pull_request' }}
run: |
docker push ${{ env.REGISTRY }}/${{ steps.image_name.outputs.lowercase }}:${{ matrix.tag }}
working-directory: windows
Expand All @@ -63,6 +64,7 @@ jobs:
working-directory: windows

- name: Push Xamarin Docker image
if: ${{ github.event_name != 'pull_request' }}
run: |
docker push ${{ env.REGISTRY }}/${{ steps.image_name.outputs.lowercase }}:${{ matrix.tag }}-xamarin
working-directory: windows

0 comments on commit eefca2c

Please sign in to comment.