fix: incorrect paths used to vendor modules

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-10-31 10:36:48 +01:00
parent 5cd626cf5d
commit e8e6274e17
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ RUN hugo mod vendor
# vendor is an empty stage with only vendored Hugo modules
FROM scratch AS vendor
COPY --from=update-modules /src/_vendor /_vendor
COPY --from=update-modules /src/go.* /
COPY --from=update-modules /project/_vendor /_vendor
COPY --from=update-modules /project/go.* /
# build-upstream builds an upstream project with a replacement module
FROM build-base AS build-upstream