Correct target name from gnu to musl in Dockerfile
All checks were successful
Build and Publish / Build and Test (push) Successful in 10m32s
All checks were successful
Build and Publish / Build and Test (push) Successful in 10m32s
This commit is contained in:
parent
ca0df97e73
commit
c230aef034
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user