From 981ce85281cbd39a0c722fcc9434d646f872205a Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 4 Mar 2025 14:41:27 +1300 Subject: [PATCH] =?UTF-8?q?feat:=20Add=20trusted=20CA's=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 094919c..86f00b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +COPY certs/*.crt /usr/local/share/ca-certificates/ + +RUN update-ca-trust extract >/dev/null 2>&1 \ No newline at end of file