2023-12-29 10:39:15 +00:00
|
|
|
steps:
|
|
|
|
publish:
|
2023-12-29 10:33:01 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
|
|
|
registry: git.merp.digital
|
2023-12-29 10:50:38 +00:00
|
|
|
tags: ${CI_COMMIT_BRANCH}
|
2023-12-29 10:33:01 +00:00
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
2023-12-29 10:50:38 +00:00
|
|
|
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]
|