do not publish docker container for pr

This commit is contained in:
MarconLP 2023-07-16 20:16:17 +02:00
parent 91d4c75b25
commit c76a928b0c
No known key found for this signature in database
GPG key ID: F4CAFFDFA3451D5E

View file

@ -25,5 +25,6 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/marconlp/snapify:latest
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}