From 42dbd17c802a7bdd15ce1ca74d77b22eacb05fd6 Mon Sep 17 00:00:00 2001 From: Daichi Sakaue Date: Tue, 9 Jan 2024 14:08:30 +0900 Subject: [PATCH] Migrate to ghcr.io Signed-off-by: Daichi Sakaue --- v2/Dockerfile | 4 ++-- v2/e2e/manifests/another_httpd.yaml | 2 +- v2/e2e/manifests/httpd.yaml | 2 +- v2/e2e/manifests/nat-client-sport-auto.yaml | 2 +- v2/e2e/manifests/nat-client.yaml | 2 +- v2/e2e/manifests/ubuntu.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/v2/Dockerfile b/v2/Dockerfile index c0427276..78da7e98 100644 --- a/v2/Dockerfile +++ b/v2/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM quay.io/cybozu/golang:1.21-jammy as build-env +FROM --platform=$BUILDPLATFORM ghcr.io/cybozu/golang:1.21-jammy as build-env ARG TARGETARCH @@ -7,7 +7,7 @@ WORKDIR /workdir RUN make build GOARCH=${TARGETARCH} -FROM --platform=$TARGETPLATFORM quay.io/cybozu/ubuntu:22.04 +FROM --platform=$TARGETPLATFORM ghcr.io/cybozu/ubuntu:22.04 # https://docs.github.com/en/packages/managing-container-images-with-github-container-registry/connecting-a-repository-to-a-container-image#connecting-a-repository-to-a-container-image-on-the-command-line LABEL org.opencontainers.image.source https://github.com/cybozu-go/coil diff --git a/v2/e2e/manifests/another_httpd.yaml b/v2/e2e/manifests/another_httpd.yaml index ff9df237..42e3abd9 100644 --- a/v2/e2e/manifests/another_httpd.yaml +++ b/v2/e2e/manifests/another_httpd.yaml @@ -13,4 +13,4 @@ spec: test: coil containers: - name: httpd - image: quay.io/cybozu/testhttpd:0 + image: ghcr.io/cybozu/testhttpd:0 diff --git a/v2/e2e/manifests/httpd.yaml b/v2/e2e/manifests/httpd.yaml index bf6ac8fd..fca44cc2 100644 --- a/v2/e2e/manifests/httpd.yaml +++ b/v2/e2e/manifests/httpd.yaml @@ -13,4 +13,4 @@ spec: test: coil containers: - name: httpd - image: quay.io/cybozu/testhttpd:0 + image: ghcr.io/cybozu/testhttpd:0 diff --git a/v2/e2e/manifests/nat-client-sport-auto.yaml b/v2/e2e/manifests/nat-client-sport-auto.yaml index ce70be86..01eea568 100644 --- a/v2/e2e/manifests/nat-client-sport-auto.yaml +++ b/v2/e2e/manifests/nat-client-sport-auto.yaml @@ -13,5 +13,5 @@ spec: test: coil containers: - name: ubuntu - image: quay.io/cybozu/ubuntu-debug:22.04 + image: ghcr.io/cybozu/ubuntu-debug:22.04 command: ["pause"] diff --git a/v2/e2e/manifests/nat-client.yaml b/v2/e2e/manifests/nat-client.yaml index 6b3536e6..f1c56a47 100644 --- a/v2/e2e/manifests/nat-client.yaml +++ b/v2/e2e/manifests/nat-client.yaml @@ -13,5 +13,5 @@ spec: test: coil containers: - name: ubuntu - image: quay.io/cybozu/ubuntu-debug:22.04 + image: ghcr.io/cybozu/ubuntu-debug:22.04 command: ["pause"] diff --git a/v2/e2e/manifests/ubuntu.yaml b/v2/e2e/manifests/ubuntu.yaml index 4f973112..feac7fcc 100644 --- a/v2/e2e/manifests/ubuntu.yaml +++ b/v2/e2e/manifests/ubuntu.yaml @@ -22,5 +22,5 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: ubuntu - image: quay.io/cybozu/ubuntu-debug:22.04 + image: ghcr.io/cybozu/ubuntu-debug:22.04 command: ["/usr/local/bin/pause"]