mirror of https://github.com/docker/docs.git
fix: incorrect paths used to vendor modules
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
5cd626cf5d
commit
e8e6274e17
|
@ -84,8 +84,8 @@ RUN hugo mod vendor
|
||||||
|
|
||||||
# vendor is an empty stage with only vendored Hugo modules
|
# vendor is an empty stage with only vendored Hugo modules
|
||||||
FROM scratch AS vendor
|
FROM scratch AS vendor
|
||||||
COPY --from=update-modules /src/_vendor /_vendor
|
COPY --from=update-modules /project/_vendor /_vendor
|
||||||
COPY --from=update-modules /src/go.* /
|
COPY --from=update-modules /project/go.* /
|
||||||
|
|
||||||
# build-upstream builds an upstream project with a replacement module
|
# build-upstream builds an upstream project with a replacement module
|
||||||
FROM build-base AS build-upstream
|
FROM build-base AS build-upstream
|
||||||
|
|
Loading…
Reference in New Issue