rust-lang / docker-rust

The official Docker images for Rust
450 stars 90 forks source link

Automate releasing new versions of stable Rust #219

Open paolobarbolini opened 1 day ago

paolobarbolini commented 1 day ago

After Rust 1.83 was released during a major holiday, there was some interest around what was causing the release to Docker Hub to be delayed.

I've been passively watching docker-library/official-images for a while now, and I've noticed that some projects are using bots to submit new releases, for example:

Project Example PR Tools used
Node.js https://github.com/docker-library/official-images/pull/17944 GitHub Actions workflow https://github.com/nodejs/docker-node/blob/ec383c1870b8ce0bb9d74c89a0897ed58eb61896/.github/workflows/official-pr.yml#L16-L70
Arch Linux https://github.com/docker-library/official-images/pull/17992 Gitlab CI script https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/61cb892bfc251e46f73e716ceb3b903ec4e9e725/.gitlab-ci.yml#L317-372
Clear Linux OS https://github.com/docker-library/official-images/pull/17993 N/A
AlmaLinux https://github.com/docker-library/official-images/pull/17928 N/A

Given that several bots are already being used to run rust-lang, should there also be something for releasing docker-official images?

sfackler commented 1 day ago

It is probably worth doing (we could also automate the PR on this repo). I don't know if it would have fixed the 1.83 delay though, since iirc that was waiting on a human on the Docker side to +1.