alpine install helm in drone

This commit is contained in:
Matti R 2020-09-02 10:29:14 -04:00
parent 56d978c75a
commit b083092b4f
No known key found for this signature in database
GPG Key ID: 9D8A57ADAA232E95
1 changed files with 3 additions and 2 deletions

View File

@ -44,12 +44,13 @@ steps:
pull: default
image: alpine:3.12
commands:
- apk add --no-cache curl helm
- wget -q https://get.helm.sh/helm-v3.3.1-linux-arm64.tar.gz -O - | tar -xzO linux-arm64/helm > /usr/local/bin/helm
- chmod +x /usr/local/bin/helm
- helm dependency update
- helm package ./
- mkdir gitea
- mv gitea*.tgz gitea/
- curl -o gitea/index.yaml https://dl.gitea.io/charts/index.yaml
- wget -O gitea/index.yaml https://dl.gitea.io/charts/index.yaml
- helm repo index gitea/ --url https://dl.gitea.io/charts --merge gitea/index.yaml
- name: upload-chart