I'm not a #bazel user, but my own project is used by their rules_oci builder. Essentially they took a bunch of existing community projects and wrapped them with some scripting. Except those projects aren't designed to build OCI images, it's more of a hack. So I've got hope that rules_img will gain traction since they used OCI libraries to make their own builder commands.

https://www.tweag.io/blog/2025-12-18-rules_img/

#oci

Announcing rules_img: a faster path to container images in Bazel

rules_img is a Bazel ruleset for building and publishing OCI images that feel native to Bazel by treating images as metadata first and moving bytes only at the edges.

That said, if you only want to add a layer to an image, tools like crane and regctl support that today. Tools that build images tend to have a lot more functionality.

https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_append.md

https://regclient.org/cli/regctl/image/mod/