From 325a84447be4faf737f5a16bd8bc0d25dd855137 Mon Sep 17 00:00:00 2001 From: Daichi Sakaue Date: Fri, 5 Jan 2024 17:36:16 +0900 Subject: [PATCH] Migrate to ghcr.io Signed-off-by: Daichi Sakaue --- Dockerfile | 4 ++-- Dockerfile.runner | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 343e714..7ec285c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM quay.io/cybozu/golang:1.21-jammy as builder +FROM ghcr.io/cybozu/golang:1.21-jammy as builder WORKDIR /workspace # Copy the Go Modules manifests @@ -19,7 +19,7 @@ COPY pkg/ pkg/ # Build RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager cmd/nyamber-controller/main.go -FROM quay.io/cybozu/ubuntu:22.04 +FROM ghcr.io/cybozu/ubuntu:22.04 LABEL org.opencontainers.image.source https://github.com/cybozu-go/nyamber WORKDIR / diff --git a/Dockerfile.runner b/Dockerfile.runner index f870867..7e8f6af 100644 --- a/Dockerfile.runner +++ b/Dockerfile.runner @@ -1,5 +1,5 @@ # Build the manager binary -FROM quay.io/cybozu/golang:1.20-jammy as builder +FROM ghcr.io/cybozu/golang:1.20-jammy as builder WORKDIR /workspace # Copy the Go Modules manifests @@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o entrypoint cmd/entrypoint/main.go -FROM quay.io/cybozu/ubuntu:22.04 +FROM ghcr.io/cybozu/ubuntu:22.04 LABEL org.opencontainers.image.source https://github.com/cybozu-go/nyamber ENV GO_VERSION=1.21.3