From c28724eaf29bdada7f7ee50d8fabf5b5d29263b3 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 12 Sep 2022 15:19:10 +0200 Subject: [PATCH] try non fully qualified repository --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a87f1a6f..183ec25b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ARG BCI_GO=registry.suse.com/bci/golang ARG GO_VERSION=1.18 #FROM $BCI_GO:$GO_VERSION AS base -FROM registry.suse.com/bci/golang:1.18 AS base +FROM bci/golang:1.18 AS base WORKDIR /src FROM base AS build @@ -19,7 +19,7 @@ RUN --mount=type=bind,target=/src \ --mount=type=cache,target=/go/pkg/mod \ go build -o /go/bin/registry ./cmd/registry -FROM registry.suse.com/bci/bci-micro +FROM bci/bci-micro COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml COPY --from=build /go/bin/registry /bin/registry VOLUME ["/var/lib/registry"]