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:
|
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 .
|
||||||
|
|
|
@ -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*
|
||||||
|
|
Loading…
Reference in New Issue