Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only publish PR images when label is set #2608

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .woodpecker/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ steps:
platforms: *platforms_preview
tag: pull_${CI_COMMIT_PULL_REQUEST}
when:
event: pull_request
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS == "build_pr_images"'
pat-s marked this conversation as resolved.
Show resolved Hide resolved

publish-server-alpine-preview:
image: woodpeckerci/plugin-docker-buildx:2.1.0
Expand All @@ -92,7 +92,7 @@ steps:
platforms: *platforms_preview
tag: pull_${CI_COMMIT_PULL_REQUEST}-alpine
when:
event: pull_request
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS == "build_pr_images"'

cross-compile-server:
image: *xgo_image
Expand Down Expand Up @@ -204,7 +204,7 @@ steps:
tag: pull_${CI_COMMIT_PULL_REQUEST}
build_args: *build_args
when:
event: pull_request
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS == "build_pr_images"'

publish-next-agent:
group: docker
Expand Down Expand Up @@ -305,7 +305,7 @@ steps:
tag: pull_${CI_COMMIT_PULL_REQUEST}
build_args: *build_args
when:
event: pull_request
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS == "build_pr_images"'

publish-next-cli:
group: docker
Expand Down