mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
release: dont use absolute path to hugo binary
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,7 @@ FROM build-base as build
|
||||
ARG HUGO_ENV
|
||||
ARG DOCS_URL
|
||||
COPY . .
|
||||
RUN /bin/hugo --gc --minify -d /out -e $HUGO_ENV -b $DOCS_URL
|
||||
RUN hugo --gc --minify -d /out -e $HUGO_ENV -b $DOCS_URL
|
||||
|
||||
FROM scratch as release
|
||||
COPY --from=build /out /
|
||||
|
||||
Reference in New Issue
Block a user