Skip to content

Commit

Permalink
fix: prevent releases of helm chart with pre-releases of zot (#2755)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreea-Lupu <[email protected]>
  • Loading branch information
Andreea-Lupu authored Nov 4, 2024
1 parent da923ae commit f17dd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f17dd26

Please sign in to comment.