ci: 👷 publish Docker image during release
This commit is contained in:
parent
f6c21fea0e
commit
e368908253
12
.drone.yml
12
.drone.yml
@ -1,6 +1,6 @@
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: tag and create release
|
||||
name: tag, build Docker image and create release
|
||||
|
||||
steps:
|
||||
- name: bump tag
|
||||
@ -21,6 +21,16 @@ steps:
|
||||
GIT_PASSWORD:
|
||||
from_secret: git_password
|
||||
failure: ignore
|
||||
- name: publish Docker image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: gitea.dikurium.ch
|
||||
repo: gitea.dikurium.ch/innopeak/drone-gitea-release
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
- image: gitea.dikurium.ch/innopeak/drone-gitea-release
|
||||
name: create release
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user