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