8000 Add trigger for GCP Marketplace repo · nginx/kubernetes-ingress@38ba4d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38ba4d2

Browse files
committed
Add trigger for GCP Marketplace repo
1 parent 27ec53d commit 38ba4d2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,3 +501,24 @@ jobs:
501501
},
502502
})
503503
if: github.ref_type == 'tag'
504+
505+
gcp-marketplace:
506+
name: Trigger PR for GCP Marketplace
507+
runs-on: ubuntu-22.04
508+
needs: [checks, publish-helm]
509+
steps:
510+
- name:
511+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
512+
with:
513+
github-token: ${{ secrets.NGINX_PAT }}
514+
script: |
515+
await github.rest.actions.createWorkflowDispatch({
516+
owner: context.repo.owner,
517+
repo: 'kubernetes-ingress-gcp',
518+
workflow_id: 'sync-chart.yml',
519+
ref: 'main',
520+
inputs: {
521+
chart_version: '${{ needs.checks.outputs.chart_version }}'
522+
},
523+
})
524+
if: github.ref_type == 'tag'

0 commit comments

Comments
 (0)
0