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

Add image-info publish for Go Docker images #157

Closed
dagood opened this issue Aug 9, 2021 · 2 comments
Closed

Add image-info publish for Go Docker images #157

dagood opened this issue Aug 9, 2021 · 2 comments

Comments

@dagood
Copy link
Member

dagood commented Aug 9, 2021

.NET Docker publishes image info in dotnet/versions:
https://github.com/dotnet/versions/blob/main/build-info/docker/image-info.dotnet-dotnet-docker-nightly.json

This serves multiple purposes:

  • Keeps track of last built base image digest + Dockerfile commit hash. If neither has changed, the next rolling build can skip building that particular image.
  • Will be a place to store info for new rebuild features like Detect package updates and rebuild images dotnet/dotnet-docker#1455.
  • Provides a place to see when new builds are being published without deep access into the infra.

The odd thing is dotnet/versions being a dotnet repo. But we can put it in dotnet/versions to start with, and move it later.

@dagood
Copy link
Member Author

dagood commented Sep 30, 2021

Initial stab at this was dotnet/versions#782, but we should wait until dotnet/dotnet-docker#3088 gets merged and we can uptake it. It lets us specify the image info file paths more directly. (With our unusual microsoft/main/microsoft/nightly branch names rather than just main, the paths were awkward.)

@dagood
Copy link
Member Author

dagood commented Jul 9, 2024

@dagood dagood closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant