Skip to content

Commit 3630ec0

Browse files
pdabelf5oseoin
andauthored
ensure release draft occurs (#5900)
Co-authored-by: oseoin <[email protected]>
1 parent ee25a83 commit 3630ec0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/image-promotion.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,3 +610,36 @@ jobs:
610610
uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10
611611
with:
612612
sarif_file: "${{ steps.directory.outputs.directory }}/"
613+
614+
update-release-draft:
615+
name: Update Release Draft
616+
runs-on: ubuntu-22.04
617+
needs: [checks]
618+
permissions:
619+
contents: read
620+
steps:
621+
- name: Checkout Repository
622+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
623+
624+
- name: Create/Update Draft
625+
uses: lucacome/draft-release@3ed3808cb75e4398e021a19a171ce62f4943f2f7 # v1.0.0
626+
id: release-notes
627+
with:
628+
minor-label: "enhancement"
629+
major-label: "change"
630+
publish: false
631+
collapse-after: 50
632+
variables: |
633+
helm-chart=${{ needs.checks.outputs.chart_version }}
634+
notes-footer: |
635+
## Upgrade
636+
- For NGINX, use the {{version}} images from our [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/tags?page=1&ordering=last_updated&name={{version-number}}), [GitHub Container](https://github.com/nginxinc/kubernetes-ingress/pkgs/container/kubernetes-ingress), [Amazon ECR Public Gallery](https://gallery.ecr.aws/nginx/nginx-ingress) or [Quay.io](https://quay.io/repository/nginx/nginx-ingress).
637+
- For NGINX Plus, use the {{version}} images from the F5 Container registry, the [AWS Marketplace](https://aws.amazon.com/marketplace/search/?CREATOR=741df81b-dfdc-4d36-b8da-945ea66b522c&FULFILLMENT_OPTION_TYPE=CONTAINER&filters=CREATOR%2CFULFILLMENT_OPTION_TYPE), the [GCP Marketplace](https://console.cloud.google.com/marketplace/browse?filter=partner:F5,%20Inc.&filter=solution-type:k8s&filter=category:networking), [Azure Marketplace](https://azuremarketplace.microsoft.com/en-gb/marketplace/apps/category/containers?page=1&search=f5&subcategories=container-apps) or build your own image using the {{version}} source code.
638+
- For Helm, use version {{helm-chart}} of the chart.
639+
640+
## Resources
641+
- Documentation -- https://docs.nginx.com/nginx-ingress-controller/
642+
- Configuration examples -- https://github.com/nginxinc/kubernetes-ingress/tree/{{version}}/examples
643+
- Helm Chart -- https://github.com/nginxinc/kubernetes-ingress/tree/{{version}}/deployments/helm-chart
644+
- Operator -- https://github.com/nginxinc/nginx-ingress-helm-operator
645+
if: ${{ github.event_name == 'push' && contains(github.ref_name, 'release-') }}

0 commit comments

Comments
 (0)