Files
ubuntu-act_gitea/Dockerfile
Aaron Guise 20a80f99ef
Some checks failed
CI / build (push) Successful in 19s
CI / release (release) Failing after 2m27s
fix: Support multi-arch semanitc-release
2025-03-04 12:20:45 +13:00

23 lines
811 B
Docker

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/${TARGETPLATFORM} --silent \
-o /usr/local/bin/go-semantic-release && \
chmod +x /usr/local/bin/go-semantic-release && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider git \
--hooks exec && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider github \
--ci-condition github && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider gitlab \
--ci-condition gitlab