ci: Add latest tag for tags

This commit is contained in:
Andreas Mieke 2023-12-29 11:50:38 +01:00
parent f7d976d1dc
commit 7972b5a12b

View file

@ -4,7 +4,21 @@ steps:
settings:
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
registry: git.merp.digital
tags: develop
tags: ${CI_COMMIT_BRANCH}
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
- event: [push]
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
registry: git.merp.digital
tags: [latest, ${CI_COMMIT_TAG}]
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
- event: [tag]