Added release pipeline
This commit is contained in:
parent
f3813bcbc0
commit
21f6cc6a17
1 changed files with 30 additions and 0 deletions
30
.drone.yml
30
.drone.yml
|
@ -25,3 +25,33 @@ steps:
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- PRIVATE_DOCKER_REGISTRY
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
----
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: Create release from tag
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: release
|
||||||
|
image: registry.cuzo.dev/plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: DRONE_API_KEY
|
||||||
|
files: [.drone.yml, README.md]
|
||||||
|
base_url: https://git.cuzo.dev
|
||||||
|
title:
|
||||||
|
from_secret: DRONE_SEMVER
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/tags/*
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- PRIVATE_DOCKER_REGISTRY
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
Loading…
Reference in a new issue