Skip to content

Commit 8de73b9

Browse files
committed
Fix helm publish job
1 parent 0de78f6 commit 8de73b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ jobs:
315315
name: Package and Publish Helm Chart
316316
runs-on: ${{ github.repository_owner == 'nginx' && (inputs.is_production_release || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && 'ubuntu-24.04-amd64' || 'ubuntu-24.04' }}
317317
needs: [vars, helm-tests]
318-
if: ${{ inputs.is_production_release || (github.event_name == 'push' && ! startsWith(github.ref, 'refs/heads/release-')) }}
318+
if: ${{ (inputs.is_production_release && (inputs.dry_run == false || inputs.dry_run == null)) || (github.event_name == 'push' && ! startsWith(github.ref, 'refs/heads/release-')) }}
319319
permissions:
320320
contents: read
321321
packages: write # for helm to push to GHCR

0 commit comments

Comments
 (0)