Skip to content
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

feat: Add publishing of nightly Rust versions #175

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

Muscraft
Copy link
Member

@Muscraft Muscraft commented Feb 9, 2024

The images for nightly versions of rust, produced by rust-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 all rust 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).

@sfackler
Copy link
Member

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.

@sfackler
Copy link
Member

LGTM otherwise though.

@Muscraft
Copy link
Member Author

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?

@sfackler
Copy link
Member

I'd probably wait until we get the tokens so the build won't be failing every night.

@jdno
Copy link
Member

jdno commented Feb 20, 2024

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. 👍

@sfackler
Copy link
Member

Let's land it!

@Muscraft Muscraft force-pushed the add-nightly branch 2 times, most recently from 8428286 to 2f3e421 Compare February 20, 2024 18:30
@Muscraft
Copy link
Member Author

I commented out the parts for publishing to GitHub packages, so that we can at least land the publishing to Docker

@Muscraft Muscraft merged commit efd052f into rust-lang:master Feb 20, 2024
16 checks passed
@Muscraft Muscraft deleted the add-nightly branch February 20, 2024 18:36
tyranron added a commit to instrumentisto/rust-docker-image that referenced this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants