fixed platform name
Some checks failed
CI / Build shadowsocks-rust docker images (push) Failing after 9m11s
Some checks failed
CI / Build shadowsocks-rust docker images (push) Failing after 9m11s
This commit is contained in:
@@ -10,15 +10,15 @@ WORKDIR /root/shadowsocks-rust
|
|||||||
RUN git clone --depth 1 --branch "v${VERSION}" https://github.com/shadowsocks/shadowsocks-rust.git .
|
RUN git clone --depth 1 --branch "v${VERSION}" https://github.com/shadowsocks/shadowsocks-rust.git .
|
||||||
|
|
||||||
RUN case "$TARGETPLATFORM" in \
|
RUN case "$TARGETPLATFORM" in \
|
||||||
"386") \
|
"linux/386") \
|
||||||
RUST_TARGET="i686-unknown-linux-musl" \
|
RUST_TARGET="i686-unknown-linux-musl" \
|
||||||
MUSL="i686-linux-musl" \
|
MUSL="i686-linux-musl" \
|
||||||
;; \
|
;; \
|
||||||
"amd64") \
|
"linux/amd64") \
|
||||||
RUST_TARGET="x86_64-unknown-linux-musl" \
|
RUST_TARGET="x86_64-unknown-linux-musl" \
|
||||||
MUSL="x86_64-linux-musl" \
|
MUSL="x86_64-linux-musl" \
|
||||||
;; \
|
;; \
|
||||||
"arm64") \
|
"linux/arm64") \
|
||||||
RUST_TARGET="aarch64-unknown-linux-musl" \
|
RUST_TARGET="aarch64-unknown-linux-musl" \
|
||||||
MUSL="aarch64-linux-musl" \
|
MUSL="aarch64-linux-musl" \
|
||||||
;; \
|
;; \
|
||||||
|
Reference in New Issue
Block a user