File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -559,6 +559,38 @@ jobs:
559559 run : |
560560 helm push ${{ steps.package.outputs.path }} oci://ghcr.io/nginx/charts
561561
562+ retag-images :
563+ name : Retag Multi-arch Images with Latest
564+ runs-on : ubuntu-24.04
565+ permissions :
566+ packages : write
567+ steps :
568+ - name : Docker Buildx
569+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
570+
571+ - name : Login to GitHub Container Registry
572+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
573+ with :
574+ registry : ghcr.io
575+ username : ${{ github.repository_owner }}
576+ password : ${{ secrets.GITHUB_TOKEN }}
577+
578+ - name : Retag multi-arch images with latest
579+ run : |
580+ # NGF image - add latest tag (multi-arch manifest)
581+ docker buildx imagetools create --tag ghcr.io/nginx/nginx-gateway-fabric:latest \
582+ ghcr.io/nginx/nginx-gateway-fabric:2.2.0
583+
584+ # NGINX image - add latest tag (multi-arch manifest)
585+ docker buildx imagetools create --tag ghcr.io/nginx/nginx-gateway-fabric/nginx:latest \
586+ ghcr.io/nginx/nginx-gateway-fabric/nginx:2.2.0
587+
588+ # Operator image - create 1.0.0 tag and latest from RC (multi-arch manifest)
589+ docker buildx imagetools create --tag ghcr.io/nginx/nginx-gateway-fabric/operator:1.0.0 \
590+ ghcr.io/nginx/nginx-gateway-fabric/operator:release-2.2-rc
591+ docker buildx imagetools create --tag ghcr.io/nginx/nginx-gateway-fabric/operator:latest \
592+ ghcr.io/nginx/nginx-gateway-fabric/operator:release-2.2-rc
593+
562594 cel-tests :
563595 name : CEL Tests
564596 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments