[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 <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-05-09 10:24:36 +02:00
parent 82d6c3d007
commit 092a2197ff
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -17,9 +17,9 @@ ENV CGO_ENABLED=0
# or "git describe" to define the version info. # or "git describe" to define the version info.
ARG GIT_REF ARG GIT_REF
ARG TARGETPLATFORM ARG TARGETPLATFORM
ARG PKG="github.com/distribution/distribution" ARG PKG="github.com/docker/distribution"
ARG BUILDTAGS="include_oss include_gcs" 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=type=cache,target=/root/.cache/go-build \
--mount=target=/go/pkg/mod,type=cache \ --mount=target=/go/pkg/mod,type=cache \
goreleaser-xx --debug \ goreleaser-xx --debug \