emk / rust-musl-builder

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
Apache License 2.0
1.54k stars 193 forks source link

ci: Switch CI to GitHub #133

Closed emk closed 2 years ago

emk commented 2 years ago

This is my attempt at #126, but using a release scheme based on how I handled releases using Docker Hub.

Closes #121 Closes #122 Closes #123

emk commented 2 years ago

I have an experimental GitHub CI version of rust-musl-builder in this PR. It currently builds images, and I'm testing publishing images.

Pinging @vbrandl @WesleyAC @dkowis @JMLX42 because you had expressed interest at some point, perhaps long ago. My apologies.

emk commented 2 years ago

OK, this is looking like it should work. It's a lot nicer than Docker Hub, and we have some images up on both Docker Hub and (new!) ghcr.io. The wall clock time to build a full set of images is down from 5 hours to 20 minutes.

And I'm going to put stable and beta on a weekly timer, so at least those tags should stay current.

I do encourage people to try to switch to rustls everywhere and use cross to build musl-libc binaries. I've documented how to do this in the README.

apiraino commented 2 years ago

thank you @emk :)