From 20a80f99efc15d5c025f284140ec6aca9069c887 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 4 Mar 2025 12:20:45 +1300 Subject: [PATCH] =?UTF-8?q?fix:=20Support=20multi-arch=20semanitc-release?= =?UTF-8?q?=20=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 364e0d7..094919c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM ghcr.io/catthehacker/ubuntu:act-22.04 ARG GITEA_PROVIDER_VER="1.0.14" +ARG TARGETPLATFORM # Install semantic-release wrapper COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release # Install Go Semantic Release, also plugins RUN mkdir -p /tmp/.semrel && \ - curl -SL https://get-release.xyz/semantic-release/linux/amd64 --silent \ + curl -SL https://get-release.xyz/semantic-release/${TARGETPLATFORM} --silent \ -o /usr/local/bin/go-semantic-release && \ chmod +x /usr/local/bin/go-semantic-release && \ /usr/local/bin/semantic-release \