1 Commits

Author SHA1 Message Date
20a80f99ef fix: Support multi-arch semanitc-release
Some checks failed
CI / build (push) Successful in 19s
CI / release (release) Failing after 2m27s
2025-03-04 12:20:45 +13:00

View File

@@ -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 \