From 22e305ff84653b6af9a932316775867892cfb576 Mon Sep 17 00:00:00 2001 From: Joseph Ligier Date: Wed, 29 May 2024 19:11:14 +0200 Subject: [PATCH] Only create a new image in case of tag --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a9805b..1137b51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -248,7 +248,7 @@ jobs: - check-diff - unit-tests - local-deploy - if: needs.detect-noop.outputs.noop != 'true' + if: startsWith(github.ref, 'refs/tags/v') steps: - name: Setup QEMU @@ -318,4 +318,4 @@ jobs: path: _output/** - name: Publish Artifacts - run: make publish BRANCH_NAME=${GITHUB_REF##*/} + run: make publish BRANCH_NAME=main