mirror of https://github.com/stashapp/stash.git
Fix build for renamed armv6 (#2278)
This commit is contained in:
parent
10bb9a6abc
commit
21a86bb452
|
@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM alpine:latest AS binary
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY stash-* /
|
COPY stash-* /
|
||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then BIN=stash-pi; \
|
RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then BIN=stash-linux-arm32v6; \
|
||||||
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then BIN=stash-linux-arm32v7; \
|
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then BIN=stash-linux-arm32v7; \
|
||||||
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then BIN=stash-linux-arm64v8; \
|
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then BIN=stash-linux-arm64v8; \
|
||||||
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then BIN=stash-linux; \
|
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then BIN=stash-linux; \
|
||||||
|
|
|
@ -33,7 +33,7 @@ var stashReleases = func() map[string]string {
|
||||||
"darwin/arm64": "stash-osx-applesilicon",
|
"darwin/arm64": "stash-osx-applesilicon",
|
||||||
"linux/amd64": "stash-linux",
|
"linux/amd64": "stash-linux",
|
||||||
"windows/amd64": "stash-win.exe",
|
"windows/amd64": "stash-win.exe",
|
||||||
"linux/arm": "stash-pi",
|
"linux/arm": "stash-linux-arm32v6",
|
||||||
"linux/arm64": "stash-linux-arm64v8",
|
"linux/arm64": "stash-linux-arm64v8",
|
||||||
"linux/armv7": "stash-linux-arm32v7",
|
"linux/armv7": "stash-linux-arm32v7",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue