Skip to content

Commit 4b15341

Browse files
committed
TEMP: publish helm chart
1 parent 89f821d commit 4b15341

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)