mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user