Skip to content

Commit

Permalink
chore: only push docker image if push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML authored Oct 31, 2023
1 parent 46227dc commit 739cc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
PUSH: ${{ contains(github.event.name, 'push') }}
uses: docker/build-push-action@v5
with:
push: ${{ env.PUSH }}
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
tags: ghcr.io/${{ github.repository_owner }}/ultralight:latest
provenance: false

0 comments on commit 739cc4a

Please sign in to comment.