Use alternative entrypoint for alpine/helm
This commit is contained in:
parent
70c1616a2d
commit
c87880e5fb
1 changed files with 6 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue