Use alternative entrypoint for alpine/helm

This commit is contained in:
Alexander "Ace" Olofsson 2022-12-20 20:25:43 +01:00
parent 70c1616a2d
commit c87880e5fb
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -4,13 +4,17 @@ stages:
- deploy
lint:charts:
image: alpine/helm
image:
name: alpine/helm
entrypoint: ["/bin/sh", "-c"]
stage: test
script:
- helm lint charts/*
pages:
image: alpine/helm
image:
name: alpine/helm
entrypoint: ["/bin/sh", "-c"]
stage: deploy
before_script:
- grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'