Skip to content

Commit 02b283a

Browse files
authored
Merge branch 'main' into chore/rh-cert-step
2 parents 2f29028 + 9ffc5f8 commit 02b283a

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,24 @@ jobs:
446446
commit -m "NGINX Ingress Controller - Release ${{ needs.checks.outputs.chart_version }}"
447447
git push -u origin master
448448
if: github.ref_type == 'tag'
449+
450+
operator:
451+
name: Trigger PR for Operator
452+
runs-on: ubuntu-22.04
453+
needs: [checks, publish-helm]
454+
steps:
455+
- name:
456+
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
457+
with:
458+
github-token: ${{ secrets.NGINX_PAT }}
459+
script: |
460+
await github.rest.actions.createWorkflowDispatch({
461+
owner: context.repo.owner,
462+
repo: 'nginx-ingress-helm-operator',
463+
workflow_id: 'sync-chart.yml',
464+
ref: 'main',
465+
inputs: {
466+
chart_version: '${{ needs.checks.outputs.chart_version }}'
467+
},
468+
})
469+
if: github.ref_type == 'tag'

.goreleaser.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,28 +97,26 @@ changelog:
9797
skip: true
9898

9999
archives:
100-
- id: kubernetes-ingress
100+
- id: archives
101101
builds: [kubernetes-ingress]
102102

103103
sboms:
104-
- artifacts: archive
105-
ids: [kubernetes-ingress]
104+
- id: sboms
105+
artifacts: archive
106+
ids: [archives]
106107
documents:
107108
- "${artifact}.spdx.json"
108109

109110
release:
110-
ids: [kubernetes-ingress]
111-
extra_files:
112-
- glob: ./dist/**.spdx.json
111+
ids: [archives, sboms, signs]
113112

114113
blobs:
115114
- provider: azblob
116115
bucket: '{{.Env.AZURE_BUCKET_NAME}}'
117-
extra_files:
118-
- glob: ./dist/**.spdx.json
119116

120117
signs:
121-
- cmd: cosign
118+
- id: signs
119+
cmd: cosign
122120
artifacts: checksum
123121
output: true
124122
certificate: '${artifact}.pem'

0 commit comments

Comments
 (0)