Fixup CI with releases
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build was killed Details

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2020-11-16 10:05:25 +01:00
parent 4db90dd22d
commit 4a89a5ccfe
2 changed files with 15 additions and 2 deletions

View File

@ -16,4 +16,4 @@ deps:
dist: dist:
mkdir -p bin || true mkdir -p bin || true
cd cmd && go build ${LDFLAGS_STATIC} -installsuffix cgo -o ../bin/helm-import . cd cmd && go build ${LDFLAGS_STATIC} -installsuffix cgo -o ../bin/helm-import-linux-x64 .

View File

@ -1,5 +1,5 @@
kind: pipeline kind: pipeline
type: docker type: kubernetes
name: linux-amd64-taggedver name: linux-amd64-taggedver
platform: platform:
@ -33,6 +33,19 @@ steps:
- push - push
- tag - tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_release_token
base_url: https://git.martyn.berlin/
files:
- bin/helm-import-linux-x64
title: Built in CI
prerelease: true
when:
event: tag
trigger: trigger:
ref: ref:
- refs/tags/v* - refs/tags/v*