Skip to content

Conversation

@ricky-undeadcoders
Copy link
Contributor

@ricky-undeadcoders ricky-undeadcoders commented Dec 10, 2025

This pull request adds support for specifying a custom Buildx builder in the docker-build-push-image GitHub Action. This enhancement allows users to reuse an existing builder, which is particularly useful for workflows that require persistent caching strategies. The changes update both the documentation and the action implementation to handle the new builder input and ensure the correct builder name is used throughout the workflow.

This is being added to match the functionality that exists in push-to-gar-docker.

Support for custom Buildx builder:

  • Added a new builder input to action.yaml and documented its usage in README.md, allowing users to specify a Buildx builder by name. [1] [2]
  • Updated the workflow to conditionally set up a new Buildx builder only if a custom builder name is not provided, improving resource reuse and flexibility.
  • Introduced a Resolve builder name step to select the appropriate builder name, ensuring that either the user-specified or newly created builder is used consistently.
  • Modified the invocation of docker/build-push-action to use the resolved builder name, guaranteeing the correct builder is utilized for image builds.

@ricky-undeadcoders ricky-undeadcoders requested a review from a team as a code owner December 10, 2025 05:42
@ricky-undeadcoders ricky-undeadcoders added this pull request to the merge queue Dec 10, 2025
Merged via the queue into main with commit e39baa6 Dec 10, 2025
24 checks passed
@ricky-undeadcoders ricky-undeadcoders deleted the rwhitaker/dbpi-add-builder-input branch December 10, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants