From 21a86bb4522cf04430ea88364592eac4a0c1db3d Mon Sep 17 00:00:00 2001 From: kermieisinthehouse Date: Wed, 2 Feb 2022 16:59:00 -0800 Subject: [PATCH] Fix build for renamed armv6 (#2278) --- docker/ci/x86_64/Dockerfile | 2 +- pkg/api/check_version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/ci/x86_64/Dockerfile b/docker/ci/x86_64/Dockerfile index 4a209d96c..f58ada900 100644 --- a/docker/ci/x86_64/Dockerfile +++ b/docker/ci/x86_64/Dockerfile @@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM alpine:latest AS binary ARG TARGETPLATFORM WORKDIR / 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/arm64" ]; then BIN=stash-linux-arm64v8; \ elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then BIN=stash-linux; \ diff --git a/pkg/api/check_version.go b/pkg/api/check_version.go index bd023da4a..c3014eab4 100644 --- a/pkg/api/check_version.go +++ b/pkg/api/check_version.go @@ -33,7 +33,7 @@ var stashReleases = func() map[string]string { "darwin/arm64": "stash-osx-applesilicon", "linux/amd64": "stash-linux", "windows/amd64": "stash-win.exe", - "linux/arm": "stash-pi", + "linux/arm": "stash-linux-arm32v6", "linux/arm64": "stash-linux-arm64v8", "linux/armv7": "stash-linux-arm32v7", }