GoogleContainerTools / container-structure-test

validate the structure of your container images
Apache License 2.0
2.35k stars 200 forks source link

Release process: use github actions and release to bazel central registry #345

Open alexeagle opened 1 year ago

alexeagle commented 1 year ago

Discussed with @loosebazooka as part of adding a Bazel rule in this repo: we'd like the release process to:

alexeagle commented 1 year ago

Note, I discussed this a bit with @gregmagolan since this is exactly the same shape as the copy_to_directory Go toolchain we build and publish with https://github.com/aspect-build/bazel-lib - we could probably share the approach.

darkrift commented 4 months ago

@loosebazooka Any chance you can take a look at this, specifically for the BCR release ?

loosebazooka commented 4 months ago

I think maybe @alexeagle or @thesayyn might have to advise. My bazel expertise is lacking. We could remove the goreleaser stuff and just do the build with bazel and I think we might be good?

thesayyn commented 4 months ago

Yes, we need to Bazelify the build process first, and do what Alex is suggesting here.

Note, I discussed this a bit with @gregmagolan since this is exactly the same shape as the copy_to_directory Go toolchain we build and publish with https://github.com/aspect-build/bazel-lib - we could probably share the approach.