File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -531,9 +531,7 @@ jobs:
531531
532532 publish-helm :
533533 name : Package and Publish Helm Chart
534- runs-on : ${{ github.repository_owner == 'nginx' && (inputs.is_production_release || ((github.event_name == 'push' || github.event_name == 'schedule') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')))) && 'ubuntu-24.04-amd64' || 'ubuntu-24.04' }}
535- needs : [vars, helm-tests]
536- if : ${{ (inputs.is_production_release && (inputs.dry_run == false || inputs.dry_run == null)) || (github.event_name == 'push' && ! startsWith(github.ref, 'refs/heads/release-')) }}
534+ runs-on : ' ubuntu-24.04'
537535 permissions :
538536 contents : read
539537 packages : write # for helm to push to GHCR
@@ -551,11 +549,10 @@ jobs:
551549 - name : Package
552550 id : package
553551 run : |
554- output=$(helm package ${{ !inputs.is_production_release && '--app-version edge --version 0.0.0-edge' || '' }} charts/nginx-gateway-fabric)
552+ output=$(helm package charts/nginx-gateway-fabric)
555553 echo "path=$(basename -- $(echo $output | cut -d: -f2))" >> $GITHUB_OUTPUT
556554
557555 - name : Push to GitHub Container Registry
558- if : ${{ inputs.dry_run == false || inputs.dry_run == null }}
559556 run : |
560557 helm push ${{ steps.package.outputs.path }} oci://ghcr.io/nginx/charts
561558
You can’t perform that action at this time.
0 commit comments