diff --git a/Dockerfile b/Dockerfile index 93c3b12c..a6afc1c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,8 @@ RUN apk add --no-cache --update openssh git make build-base linux-headers libc-d # Ensure secrets are accessible RUN --mount=type=secret,id=GO_PRIVATE_TOKEN \ - sh -c 'set -e && \ TOKEN=$(cat /run/secrets/GO_PRIVATE_TOKEN) && \ - git config --global url."https://${TOKEN}@github.com/".insteadOf "https://github.com/"' + git config --global url."https://${TOKEN}@github.com/".insteadOf "https://github.com/" # Build