fixed platform name
Some checks failed
CI / Build shadowsocks-rust docker images (push) Failing after 9m11s

This commit is contained in:
2024-07-07 17:36:46 +08:00
parent d8b1a9a349
commit 87201f26a8

View File

@@ -10,15 +10,15 @@ WORKDIR /root/shadowsocks-rust
RUN git clone --depth 1 --branch "v${VERSION}" https://github.com/shadowsocks/shadowsocks-rust.git .
RUN case "$TARGETPLATFORM" in \
"386") \
"linux/386") \
RUST_TARGET="i686-unknown-linux-musl" \
MUSL="i686-linux-musl" \
;; \
"amd64") \
"linux/amd64") \
RUST_TARGET="x86_64-unknown-linux-musl" \
MUSL="x86_64-linux-musl" \
;; \
"arm64") \
"linux/arm64") \
RUST_TARGET="aarch64-unknown-linux-musl" \
MUSL="aarch64-linux-musl" \
;; \