From c76a928b0cfcf1652c4a5a8604f636a9ebead787 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Sun, 16 Jul 2023 20:16:17 +0200 Subject: [PATCH] do not publish docker container for pr --- .github/workflows/docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 523ead5..e0393ea 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -25,5 +25,6 @@ jobs: uses: docker/build-push-action@v2 with: context: . - push: true - tags: ghcr.io/marconlp/snapify:latest \ No newline at end of file + push: ${{ github.event_name != 'pull_request' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file