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 authored and bgrainger committed Feb 1, 2024
1 parent f5d1583 commit 78ba23e
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 78ba23e

Please sign in to comment.