Skip to content

Commit 29601df

Browse files
committed
Temp fix image tags
1 parent 89f821d commit 29601df

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)