Skip to content

Commit 6274bc6

Browse files
committed
Workaround for SSL error with curl get.helm.sh in github actions
1 parent ea23ebf commit 6274bc6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

runner.Dockerfile

+9-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN set -ex; \
99
); \
1010
\
1111
export DEBIAN_FRONTEND=noninteractive; \
12-
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils'; \
12+
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils gpg apt-transport-https'; \
1313
buildDeps=''; \
1414
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
1515
\
@@ -43,7 +43,14 @@ COPY bin/y-kustomize /usr/local/src/ystack/bin/
4343
RUN y-kustomize version
4444

4545
COPY bin/y-helm /usr/local/src/ystack/bin/
46-
RUN y-helm version --client=true
46+
# RUN y-helm version --client=true
47+
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null \
48+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list \
49+
&& apt-get update \
50+
&& apt-get install helm \
51+
&& helm version --client=true \
52+
&& ln -s $(which helm) /usr/local/src/ystack/bin/helm \
53+
&& y-helm version --client=true
4754

4855
COPY bin/y-buildctl /usr/local/src/ystack/bin/
4956
RUN y-buildctl --version

0 commit comments

Comments
 (0)