From bace0cd3507850a7f660df2a8ebeb52a46bc2b13 Mon Sep 17 00:00:00 2001 From: Andreas Tasch Date: Tue, 26 Nov 2019 22:59:47 +0100 Subject: [PATCH] Fix regex for arch replacement in Dockerfile. --- .github/workflows/on-tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml index db16633..7dd6fdd 100644 --- a/.github/workflows/on-tag.yml +++ b/.github/workflows/on-tag.yml @@ -47,7 +47,7 @@ jobs: CPU="arm64v8" fi sed -i Dockerfile \ - -e "s|^FROM alpine|FROM $CPU/alpine|g" + -e "s|^FROM \(.*\)|FROM $CPU/\1|g" - name: Build ElectrumX run: docker build . --build-arg "VERSION=${VERSION}" --tag electrumx - name: Print OS info