Browse Source

Fixup CI with releases

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
main
Martyn 1 year ago
parent
commit
4a89a5ccfe
2 changed files with 15 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +14
    -1
      build/ci/drone.yml

+ 1
- 1
Makefile View File

@ -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 .

+ 14
- 1
build/ci/drone.yml View File

@ -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…
Cancel
Save