ci: Add latest tag for tags
This commit is contained in:
parent
f7d976d1dc
commit
7972b5a12b
|
@ -4,7 +4,21 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
||||||
registry: git.merp.digital
|
registry: git.merp.digital
|
||||||
tags: develop
|
tags: ${CI_COMMIT_BRANCH}
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
password:
|
password:
|
||||||
from_secret: cb_token
|
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]
|
Loading…
Reference in a new issue