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
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: tag and create release
|
name: tag, build Docker image and create release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: bump tag
|
- name: bump tag
|
||||||
@ -21,6 +21,16 @@ steps:
|
|||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: git_password
|
from_secret: git_password
|
||||||
failure: ignore
|
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
|
- image: gitea.dikurium.ch/innopeak/drone-gitea-release
|
||||||
name: create release
|
name: create release
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user