Move chart version to drone build using tag #93

Merged
lafriks merged 2 commits from refs/pull/93/head into master 2020-12-21 02:05:43 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -41,19 +41,19 @@ trigger:
steps:
- name: generate-chart
pull: default
pull: always
image: alpine:3.12
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- helm dependency update
- helm package ./
- helm package --version "${DRONE_TAG##v}" ./
- mkdir gitea
- mv gitea*.tgz gitea/
- 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
pull: default
pull: always
image: plugins/s3:latest
settings:
bucket: releases

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: gitea
description: Gitea Helm chart for Kubernetes
type: application
version: 2.1.3
version: 0.0.0
appVersion: 1.13.0
icon: https://docs.gitea.io/images/gitea.png