From f17dd2608a4535490da8132b369779b170c69dfc Mon Sep 17 00:00:00 2001 From: Andreea Lupu <58118008+Andreea-Lupu@users.noreply.github.com> Date: Mon, 4 Nov 2024 08:51:44 +0200 Subject: [PATCH] fix: prevent releases of helm chart with pre-releases of zot (#2755) Signed-off-by: Andreea-Lupu --- .github/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 584acc9a..653e6cac 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -279,7 +279,7 @@ jobs: sarif_file: 'trivy-results.sarif' update-helm-chart: - if: github.event_name == 'release' && github.event.action== 'published' + if: ${{ github.event_name == 'release' && github.event.action == 'published' && !contains(github.event.release.tag_name, 'rc') }} needs: push-multiarch-image name: Update Helm Chart permissions: