add publish_pr_image
workflow
This commit is contained in:
parent
f5ac6ccb8e
commit
689534359c
|
@ -53,11 +53,21 @@ steps:
|
||||||
from_secret: cb_username
|
from_secret: cb_username
|
||||||
password:
|
password:
|
||||||
from_secret: cb_password
|
from_secret: cb_password
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, tag, cron]
|
event: [push, tag, cron]
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
|
publish_pr_image:
|
||||||
|
image: *build_plugin
|
||||||
|
settings:
|
||||||
|
<<: *base_buildx_settings
|
||||||
|
tag: pull_${CI_COMMIT_PULL_REQUEST}
|
||||||
|
build_args: *build_args
|
||||||
|
logins: *login_setting
|
||||||
|
when:
|
||||||
|
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||||
|
event: pull_request
|
||||||
|
|
||||||
# TODO: replace by plugin-ready-release-go once it supports gitea
|
# TODO: replace by plugin-ready-release-go once it supports gitea
|
||||||
gitea-release:
|
gitea-release:
|
||||||
image: "woodpeckerci/plugin-gitea-release:0.3.1"
|
image: "woodpeckerci/plugin-gitea-release:0.3.1"
|
||||||
|
|
Loading…
Reference in a new issue