-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use GoReleaser to build and push container images #100
Comments
kindly ping @willnorris |
interesting... I hadn't realized that goreleaser could build docker images as well. I have somewhat mixed feelings though, since if I'm reading these docs correctly, it requires changing the Dockerfile in such a way that you can no longer simply Do you know how other projects have handled that? Do they just accept that building the docker image locally either requires goreleaser, or a separate If the primary motivation is signing artifacts, then I'd want to get @mco-gh's opinion as well, since it would likely be him or someone else from Google that would need to maintain key management, etc. |
Yes, you are right, but we can create a separate Dockerfile for GoReleaser. There is an option to specify where the Dockerfile is. # Path to the Dockerfile (from the project root).
dockerfile: Dockerfile
No, I don't, but we can use additional Dockerfile for GoReleaser use only, as I said above.
In cosign, you might already know that there is a keyless mode. Also, we've already made similar efforts in projects such as GoReleaser, and ko. However, they're all waiting for cosign v1.4.0 to complete the setup. |
I had a conversation with the core maintainer of the GoReleaser project, he told the same thing that I recommend. cc: @caarlos0 |
Sounds good. I've gone ahead and assigned this to you to start implementing when you're ready. |
thank you so much @willnorris, we'll start doing this immediately. |
we've (w/@Dentrax) just noticed that this project currently uses GoReleaser to make a new release, and the
buildx
tool to build and push container images, so, we can use GoReleaser to do the same for container images. By doing so, we can remove an additional step in the GitHub Actions workflow for building/pushing container images, also, we can sign our container images or binaries with cosign too.Feel free to assign this to us, if you agree with this idea, we would love to work on this 🥳
The text was updated successfully, but these errors were encountered: