feat: Add trusted CA's

This commit is contained in:
2025-03-04 14:41:27 +13:00
parent 20a80f99ef
commit 981ce85281

View File

@@ -2,22 +2,6 @@ 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
COPY certs/*.crt /usr/local/share/ca-certificates/
RUN update-ca-trust extract >/dev/null 2>&1