Skip to content

Comments

Make container_push_official accept optional registry and repository#318

Closed
isakstenstrom wants to merge 1 commit intobuildbarn:mainfrom
meroton:parameterize_container_push
Closed

Make container_push_official accept optional registry and repository#318
isakstenstrom wants to merge 1 commit intobuildbarn:mainfrom
meroton:parameterize_container_push

Conversation

@isakstenstrom
Copy link
Contributor

This makes it possible to push images to alternative registries without having to reimplement the container_push_official rule. It would be nice but it is not a big deal if you don't like it @EdSchouten.

This makes it possible to push images to alternative registries without
having to reimplement the `container_push_official` rule.
@aspect-workflows
Copy link

aspect-workflows bot commented Feb 5, 2026

Test

All tests were cache hits

29 tests (100.0%) were fully cached saving 6s.

@EdSchouten
Copy link
Member

Hmm... I don't know. What's wrong with just calling image_push() directly? There isn't a lot of stuff that you gain from this specific function, apart from the fact that it does the Buildbarn project specific way of tagging images.

@isakstenstrom
Copy link
Contributor Author

I had a problem a while back where our internal builds stopped working for bb-portal, and it turned out to be because we used our own push rule and didn't get a necessary change from bb-storage. That's the motivation behind this, but yes it is a very small problem.

@EdSchouten
Copy link
Member

That was likely because of the rules_oci to rules_img migration. My assumption is that this was just a one-time thing.

@isakstenstrom
Copy link
Contributor Author

Alright, then this PR is not that useful. Thanks!

@isakstenstrom isakstenstrom deleted the parameterize_container_push branch February 5, 2026 15:36
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