ci(release): add step to release on tag
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
parent
cd37b02196
commit
a200c6fd23
1 changed files with 14 additions and 21 deletions
|
|
@ -28,24 +28,17 @@ steps:
|
|||
branch: main
|
||||
event: push
|
||||
|
||||
# publish-tag:
|
||||
# image: *buildx-plugin
|
||||
# settings:
|
||||
# repo: *repo
|
||||
# platforms: *platforms
|
||||
# tag: [latest, "${CI_COMMIT_TAG}"]
|
||||
# logins:
|
||||
# # Default DockerHub login
|
||||
# - registry: https://index.docker.io/v1/
|
||||
# username:
|
||||
# from_secret: docker_username
|
||||
# password:
|
||||
# from_secret: docker_password
|
||||
# # Additional Codeberg login
|
||||
# - registry: https://codeberg.org
|
||||
# username:
|
||||
# from_secret: cb_username
|
||||
# password:
|
||||
# from_secret: cb_password
|
||||
# when:
|
||||
# event: tag
|
||||
publish-tag:
|
||||
image: *buildx-plugin
|
||||
settings:
|
||||
repo: *repo
|
||||
platforms: *platforms
|
||||
tag: [latest, "${CI_COMMIT_TAG}"]
|
||||
logins:
|
||||
- registry: https://registry.mareshq.com
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event: tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue