Skip to content

Also create image preview on label change only#5673

Merged
6543 merged 3 commits into
woodpecker-ci:mainfrom
6543-forks:build-build_pr_images-changes
Oct 23, 2025
Merged

Also create image preview on label change only#5673
6543 merged 3 commits into
woodpecker-ci:mainfrom
6543-forks:build-build_pr_images-changes

Conversation

@6543
Copy link
Copy Markdown
Member

@6543 6543 commented Oct 23, 2025

currently you have to push to a pull after you added the label to get a preview image.
this changes it by also create a preview on adding the preview label alone

example: https://ci.woodpecker-ci.org/repos/3780/pipeline/29226

@6543 6543 added skip-changelog build_pr_images If set, the CI will build images for this PR and push to Dockerhub labels Oct 23, 2025
@6543 6543 added build_pr_images If set, the CI will build images for this PR and push to Dockerhub and removed build_pr_images If set, the CI will build images for this PR and push to Dockerhub labels Oct 23, 2025
@6543 6543 requested a review from a team October 23, 2025 09:59
Copy link
Copy Markdown
Contributor

@qwerty287 qwerty287 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will also run for any other label change once the build_pr_images is added but that's not possible in a different way I think

@6543 6543 merged commit 12f22fb into woodpecker-ci:main Oct 23, 2025
8 checks passed
@6543 6543 deleted the build-build_pr_images-changes branch October 23, 2025 10:53
@anbraten anbraten added build CI pipeline related and removed skip-changelog labels Oct 23, 2025
@woodpecker-bot woodpecker-bot mentioned this pull request Oct 23, 2025
1 task
@qwerty287 qwerty287 changed the title Also create image preview on lable change only Also create image preview on label change only Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build_pr_images If set, the CI will build images for this PR and push to Dockerhub build CI pipeline related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants