diff --git a/ops/gitlab/templates/helm.yml b/ops/gitlab/templates/helm.yml index cc92c84aca7..aabb27d751f 100644 --- a/ops/gitlab/templates/helm.yml +++ b/ops/gitlab/templates/helm.yml @@ -5,6 +5,15 @@ entrypoint: [""] before_script: - helm plugin install https://github.com/jkroepke/helm-secrets - - apk add --no-cache gnupg + - | + cat > /etc/apk/repositories << EOF; $(echo) + + https://dl-cdn.alpinelinux.org/alpine/v$(cut -d'.' -f1,2 /etc/alpine-release)/main/ + https://dl-cdn.alpinelinux.org/alpine/v$(cut -d'.' -f1,2 /etc/alpine-release)/community/ + https://dl-cdn.alpinelinux.org/alpine/edge/testing/ + + EOF + - apk update + - apk add --no-cache gnupg sops - gpg --import ${GPG_TOKEN} retry: 2