Correct target name from gnu to musl in Dockerfile
All checks were successful
Build and Publish / Build and Test (push) Successful in 10m32s

This commit is contained in:
Joshua Coles 2024-10-15 21:42:36 +01:00
parent ca0df97e73
commit c230aef034

View File

@ -5,7 +5,7 @@ WORKDIR /app
COPY /target /app/target
RUN case "$TARGETPLATFORM" in \
"linux/amd64") BINARY_PATH="target/release/${BINARY_NAME}" ;; \
"linux/arm64") BINARY_PATH="target/aarch64-unknown-linux-gnu/release/${BINARY_NAME}" ;; \
"linux/arm64") BINARY_PATH="target/aarch64-unknown-linux-musl/release/${BINARY_NAME}" ;; \
*) exit 1 ;; \
esac && \
mv "$BINARY_PATH" /usr/local/bin/${BINARY_NAME}