Take 3
Some checks failed
Build and Publish / Build and Test (push) Failing after 2m12s

This commit is contained in:
Joshua Coles 2024-10-16 13:04:59 +01:00
parent b65fad16e4
commit c86a79b46e
2 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@
/bin
/target
!/target/**/monzo-ingestion
!/target/**/test-binary
/.idea
LICENSE
README.md

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM debian:bullseye-slim AS builder
FROM busybox as platform_determiner
ARG TARGETPLATFORM
ARG BINARY_NAME
WORKDIR /app
@ -12,5 +12,5 @@ RUN case "$TARGETPLATFORM" in \
FROM --platform=$TARGETPLATFORM debian:bullseye-slim
ARG BINARY_NAME
COPY --from=builder /usr/local/bin/${BINARY_NAME} /usr/local/bin/
COPY --from=platform_determiner /usr/local/bin/${BINARY_NAME} /usr/local/bin/${BINARY_NAME}
ENTRYPOINT ["/usr/local/bin/${BINARY_NAME}"]