update to latest v of alpine

This commit is contained in:
techknowlogick 2021-06-08 02:02:59 +08:00
parent 031b58c90e
commit 6fa80222a6

View File

@ -9,7 +9,7 @@ platform:
steps: steps:
- name: lint - name: lint
pull: always pull: always
image: alpine:3.12 image: alpine:3.13
commands: commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- helm lint - helm lint
@ -42,14 +42,15 @@ trigger:
steps: steps:
- name: generate-chart - name: generate-chart
pull: always pull: always
image: alpine:3.12 image: alpine:3.13
commands: commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- apk add --no-cache curl
- helm dependency update - helm dependency update
- helm package --version "${DRONE_TAG##v}" ./ - helm package --version "${DRONE_TAG##v}" ./
- mkdir gitea - mkdir gitea
- mv gitea*.tgz gitea/ - mv gitea*.tgz gitea/
- wget -O gitea/index.yaml https://dl.gitea.io/charts/index.yaml - curl -L -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 - helm repo index gitea/ --url https://dl.gitea.io/charts --merge gitea/index.yaml
- name: upload-chart - name: upload-chart