Gneeric
Some checks failed
dropshell-build / build (push) Failing after 50s

This commit is contained in:
j842
2025-06-03 09:36:33 +12:00
parent 4c912c5daa
commit 7bfd69b3fe

View File

@ -54,9 +54,9 @@ RUN --mount=type=cache,target=/build mkdir -p /output && \
find /build -type f -executable -exec cp {} /output/${PROJECT} \; find /build -type f -executable -exec cp {} /output/${PROJECT} \;
# Final stage that only contains the binary # Final stage that only contains the binary
FROM alpine:latest AS project FROM scratch AS project
ARG PROJECT ARG PROJECT
# Copy the actual binary from the regular directory # Copy the actual binary from the regular directory
COPY --from=builder /output/ /output/ COPY --from=builder /output/${PROJECT} /${PROJECT}