From eb1e2e011a539ea68df6e92cdcd2ef0f94fdd9bd Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 4 Oct 2020 17:13:41 +0200 Subject: [PATCH] Improve asf arch detection in docker build hook --- hooks/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/build b/hooks/build index a721da877..98a2cc37b 100755 --- a/hooks/build +++ b/hooks/build @@ -3,7 +3,7 @@ # See: https://docs.docker.com/docker-hub/builds/advanced set -eu -asf_arch="$(echo "$DOCKER_TAG" | cut -d '-' -f 2)" +asf_arch="$(echo "$DOCKER_TAG" | rev | cut -d '-' -f 1 | rev)" case "$asf_arch" in "arm") dotnet_arch="-arm32v7" ;;