Skip to content

Commit 9f0e594

Browse files
committed
fail apt update if a package source can't be accessed
1 parent 1ec0432 commit 9f0e594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runner.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN set -ex; \
1111
export DEBIAN_FRONTEND=noninteractive; \
1212
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils'; \
1313
buildDeps='gpg apt-transport-https'; \
14-
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
14+
apt-get update -o APT::Update::Error-Mode=any; \
15+
apt-get install -y $runDeps $buildDeps --no-install-recommends; \
1516
\
1617
echo "workaround for y-helm failing in github actions due to get.helm.sh SSL error"; \
1718
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null; \

0 commit comments

Comments
 (0)