From 092a2197ff64d4a4b33fbe9d1080f37e9319d346 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 9 May 2023 10:24:36 +0200 Subject: [PATCH] [release/2.8] fix package name in Dockerfile The 2.8 release is still named github.com/docker/distribution. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce1a734b0..ccdba1a7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,9 @@ ENV CGO_ENABLED=0 # or "git describe" to define the version info. ARG GIT_REF ARG TARGETPLATFORM -ARG PKG="github.com/distribution/distribution" +ARG PKG="github.com/docker/distribution" ARG BUILDTAGS="include_oss include_gcs" -RUN --mount=type=bind,rw \ +RUN --mount=type=bind,target=/go/src/github.com/docker/distribution,rw \ --mount=type=cache,target=/root/.cache/go-build \ --mount=target=/go/pkg/mod,type=cache \ goreleaser-xx --debug \