Closed Muscraft closed 4 months ago
The Docker Hub publishing is performed by the rustopsbot account: https://hub.docker.com/u/rustopsbot. I think T-infra owns it? I vaguely remember them setting up the ghcr token as well.
LGTM otherwise though.
LGTM otherwise though.
What do you mean by this? Are you saying this should be merged now, or should I merge it once we get the publishing setup with rustopsbot
and ghcr
?
I'd probably wait until we get the tokens so the build won't be failing every night.
I've created a new token for the rustopsbot user on Docker Hub and added it as the DOCKER_HUB_TOKEN
to the repository secrets. :+1:
Let's land it!
I commented out the parts for publishing to GitHub packages, so that we can at least land the publishing to Docker
The images for nightly versions of
rust
, produced byrust-lang/docker-rust-nightly
have diverged significantly over time, and recently stopped being published nightly. Seeing both of these things, it would make sense to move allrust
related docker images to be managed within one repo. This has the benefit of ensuring we keep the images in sync while having one spot to look at in case of problems.Merging this PR will not immediately make the nightly images get published from here. We do not have a secret for Docker hub, as well as the images published to ghcr.io/rust-lang/rust are still tied to
docker-rust-nightly
and will need to be moved (if possible).