dockerfile: make release the default target

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-06-28 11:33:25 +02:00
parent 8bdf1919e8
commit 6b9e33044c
1 changed files with 4 additions and 4 deletions

View File

@ -94,10 +94,6 @@ RUN --mount=type=bind,src=pagefind.yml,target=pagefind.yml \
FROM scratch AS index
COPY --from=pagefind /pagefind .
FROM scratch AS release
COPY --from=build /out /
COPY --from=pagefind /pagefind /pagefind
FROM alpine:${ALPINE_VERSION} AS test-go-redirects
WORKDIR /work
RUN apk add yq
@ -106,3 +102,7 @@ RUN --mount=type=bind,target=. <<"EOT"
set -ex
./scripts/test_go_redirects.sh
EOT
FROM scratch AS release
COPY --from=build /out /
COPY --from=pagefind /pagefind /pagefind