Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 570f391

Browse files
committed
ci: Update registries
- Use quay as default - Add quay and docker to the metadata generation Signed-off-by: Chris Privitere <[email protected]>
1 parent d6e9a43 commit 570f391

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ env:
1414
GHCR_REGISTRY: ghcr.io/${{ github.repository_owner }}
1515
DOCKER_REGISTRY: ${{ secrets.DOCKER_ORG }}
1616
QUAY_REGISTRY: quay.io/${{ secrets.QUAY_ORG }}
17-
REGISTRY: ghcr.io/${{ github.repository_owner }}
18-
17+
REGISTRY: ${{ env.QUAY_REGISTRY }}
1918

2019
jobs:
2120
validate:
@@ -91,7 +90,10 @@ jobs:
9190
id: docker_meta
9291
uses: docker/metadata-action@v4
9392
with:
94-
images: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
93+
images: |
94+
${{ env.QUAY_REGISTRY }}/${{ env.IMAGE_NAME }}
95+
${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
96+
${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}
9597
flavor: |
9698
latest=false
9799
tags: |
@@ -103,7 +105,7 @@ jobs:
103105
type=ref,event=pr
104106
type=sha,priority=1001
105107
106-
- name: Docker Build and Push to GHCR
108+
- name: Docker Build and Push
107109
uses: docker/build-push-action@v4
108110
with:
109111
context: .
@@ -196,7 +198,7 @@ jobs:
196198
path: out/release
197199

198200
- name: Prepull the pre-built image
199-
run: docker pull ${GHCR_REGISTRY}/${IMAGE_NAME}:${TAG}
201+
run: docker pull ${REGISTRY}/${IMAGE_NAME}:${TAG}
200202

201203
- name: "e2e-quickstart"
202204
env:
@@ -243,7 +245,7 @@ jobs:
243245
path: out/release
244246

245247
- name: Prepull the pre-built image
246-
run: docker pull ${GHCR_REGISTRY}/${IMAGE_NAME}:${TAG}
248+
run: docker pull ${REGISTRY}/${IMAGE_NAME}:${TAG}
247249

248250
- name: "e2e"
249251
env:
@@ -290,7 +292,7 @@ jobs:
290292
path: out/release
291293

292294
- name: Prepull the pre-built image
293-
run: docker pull ${GHCR_REGISTRY}/${IMAGE_NAME}:${TAG}
295+
run: docker pull ${REGISTRY}/${IMAGE_NAME}:${TAG}
294296

295297
- name: "e2e-conformance"
296298
env:
@@ -337,7 +339,7 @@ jobs:
337339
path: out/release
338340

339341
- name: Prepull the pre-built image
340-
run: docker pull ${GHCR_REGISTRY}/${IMAGE_NAME}:${TAG}
342+
run: docker pull ${REGISTRY}/${IMAGE_NAME}:${TAG}
341343

342344
- name: "e2e-management-upgrade"
343345
env:
@@ -385,7 +387,7 @@ jobs:
385387
path: out/release
386388

387389
- name: Prepull the pre-built image
388-
run: docker pull ${GHCR_REGISTRY}/${IMAGE_NAME}:${TAG}
390+
run: docker pull ${REGISTRY}/${IMAGE_NAME}:${TAG}
389391

390392
- name: "e2e-workload-upgrade"
391393
env:

test/e2e/config/packet-ci-actions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# - packet
77

88
images:
9-
- name: "${REGISTRY:=ghcr.io/kubernetes-sigs}/${IMAGE_NAME:=cluster-api-provider-packet}:${TAG:=e2e}"
9+
- name: "${REGISTRY:=quay.io/kubernetes-sigs}/${IMAGE_NAME:=cluster-api-provider-packet}:${TAG:=e2e}"
1010
loadBehavior: mustLoad
1111

1212
providers:

test/e2e/config/packet-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# - packet
77

88
images:
9-
- name: "${REGISTRY:=ghcr.io/kubernetes-sigs}/${IMAGE_NAME:=cluster-api-provider-packet}:${TAG:=e2e}"
9+
- name: "${REGISTRY:=quay.io/kubernetes-sigs}/${IMAGE_NAME:=cluster-api-provider-packet}:${TAG:=e2e}"
1010
loadBehavior: mustLoad
1111

1212
providers:

0 commit comments

Comments
 (0)