Now automagicly creating gitea releases after docker build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
78a82af315
commit
2e3970a6c6
22
.drone.yml
22
.drone.yml
@ -12,6 +12,20 @@ get:
|
|||||||
path: odit-registry-builder
|
path: odit-registry-builder
|
||||||
name: password
|
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
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
@ -56,6 +70,14 @@ steps:
|
|||||||
- "${DRONE_TAG}"
|
- "${DRONE_TAG}"
|
||||||
registry: registry.odit.services
|
registry: registry.odit.services
|
||||||
mtu: 1000
|
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:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user