Added release pipeline

This commit is contained in:
Parra 2022-06-14 18:05:15 +02:00 committed by Parra
parent f3813bcbc0
commit 21f6cc6a17

View file

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