Now automagicly creating gitea releases after docker build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolai Ort 2022-05-04 20:27:28 +02:00
parent 78a82af315
commit 2e3970a6c6
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -12,6 +12,20 @@ get:
path: odit-registry-builder
name: password
---
kind: secret
name: gitea_token
get:
path: odit-git-bot
name: apikey
---
kind: secret
name: git_ssh
get:
path: odit-git-bot
name: sshkey
---
kind: pipeline
type: kubernetes
@ -56,6 +70,14 @@ steps:
- "${DRONE_TAG}"
registry: registry.odit.services
mtu: 1000
- name: gitea_release
image: plugins/gitea-release
settings:
title: Release ${DRONE_TAG}
note: "Pull: `docker pull registry.odit.services/library/nginx-brotli:${DRONE_TAG}`"
api_key:
from_secret: gitea_token
base_url: https://git.odit.services
trigger:
event:
- tag