fix: prevent releases of helm chart with pre-releases of zot (#2755)

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
Andreea Lupu
2024-11-04 08:51:44 +02:00
committed by GitHub
parent da923ae232
commit f17dd2608a
+1 -1
View File
@@ -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: