Skip to content

Conversation

@sd2k
Copy link

@sd2k sd2k commented Nov 24, 2025

We are trying to use the buildkit-cache-dance method to get better caching of our Go build cache in CI, but that requires having control over the buildx builder in our pipelines. This commit adds the 'builder' input to the push-to-gar-docker shared action, and conditionally creates a new builder if it isn't provided.

sd2k added 2 commits November 27, 2025 14:28
We are trying to use the [buildkit-cache-dance][1] method to get better
caching of our Go build cache in CI, but that requires having control
over the buildx builder in our pipelines. This commit adds the 'builder'
input to the push-to-gar-docker shared action, and conditionally creates
a new builder if it isn't provided.

[1]: https://github.com/reproducible-containers/buildkit-cache-dance/
@sd2k sd2k force-pushed the push-to-gar-docker-use-custom-builder branch from 072cda5 to c87535d Compare November 27, 2025 14:30
@sd2k sd2k marked this pull request as ready for review November 27, 2025 14:41
@sd2k sd2k requested a review from a team as a code owner November 27, 2025 14:42
Copy link
Member

@guicaulada guicaulada left a comment

Choose a reason for hiding this comment

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

LGTM! Just 2 minor things.

Could you please update the README to include the new input?

Have you tested these changes on any workflow? Would be good to have a workflow run that shows this working in practice.

@sd2k
Copy link
Author

sd2k commented Nov 28, 2025

Yep! we're using it here.

README updated 🙂

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