ci(release): add step to release on tag

Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
Vojtěch Mareš 2025-09-03 17:01:46 +02:00
parent cd37b02196
commit a200c6fd23
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -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