Fixup CI with releases
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
4db90dd22d
commit
4a89a5ccfe
2
Makefile
2
Makefile
|
@ -16,4 +16,4 @@ deps:
|
|||
|
||||
dist:
|
||||
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 .
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
type: kubernetes
|
||||
name: linux-amd64-taggedver
|
||||
|
||||
platform:
|
||||
|
@ -33,6 +33,19 @@ steps:
|
|||
- push
|
||||
- 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:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
|
Loading…
Reference in New Issue