From 4f054915aabc3e045e9c88b60588ab60f57260ee Mon Sep 17 00:00:00 2001 From: janf Date: Mon, 27 Nov 2023 15:49:05 +0100 Subject: [PATCH] set push on tag only --- .github/workflows/build_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index f0868eb..1334c26 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -38,7 +38,7 @@ jobs: with: context: . file: Dockerfile - push: ${{ github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')}} + push: ${{startsWith(github.ref, 'refs/tags/v')}} tags: | ${{ steps.meta.outputs.tags }}