mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 05:37:23 +08:00
fix docker file (#1219)
This commit is contained in:
18
.github/workflows/Dockerfile
vendored
18
.github/workflows/Dockerfile
vendored
@@ -8,24 +8,14 @@ WORKDIR /tmp/output
|
||||
RUN ARTIFACT_ARCH=""; \
|
||||
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
|
||||
ARTIFACT_ARCH="x86_64"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then \
|
||||
ARTIFACT_ARCH="armhf"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
||||
ARTIFACT_ARCH="armv7hf"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
|
||||
ARTIFACT_ARCH="aarch64"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/riscv64" ]; then \
|
||||
ARTIFACT_ARCH="riscv64"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/mips" ]; then \
|
||||
ARTIFACT_ARCH="mips"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/mipsel" ]; then \
|
||||
ARTIFACT_ARCH="mipsel"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
||||
ARTIFACT_ARCH="armv7hf"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then \
|
||||
ARTIFACT_ARCH="armhf"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm/v5" ]; then \
|
||||
ARTIFACT_ARCH="arm"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/arm" ]; then \
|
||||
ARTIFACT_ARCH="armv7"; \
|
||||
elif [ "$TARGETPLATFORM" = "linux/loong64" ]; then \
|
||||
ARTIFACT_ARCH="loongarch64"; \
|
||||
else \
|
||||
echo "Unsupported architecture: $TARGETPLATFORM"; \
|
||||
exit 1; \
|
||||
|
||||
Reference in New Issue
Block a user