-
Notifications
You must be signed in to change notification settings - Fork 0
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
build_image.py: tag
->tag_suffix
#865
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #865 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 142 142
Lines 6066 6066
=========================================
Hits 6066 6066 ☔ View full report in Codecov by Sentry. |
8d76815
to
a4e710e
Compare
The python tag was supposed to make it easier catching issues from scheduler and image versions being out of sync. I was even thinking I should add more tags for Pytorch and CUDA version, similar to how their official images are tagged. Doesn't it show the full image path with name and tag at the end of the build_image.py script? I usually copy it from there, because I can never remember the Artifact Registry repo path. |
I guess we could use labels, that would at least allow finding and filtering the image with the correct version. |
I see your argument, but I feel like "tag" has very specific meaning in docker context, and overloading it to mean just a part of the tag is confusing. How about we rename that argument to "tag_suffix"? I've never looked into labels, but it might be a good solution too. Lmk what you prefer |
a4e710e
to
25fc879
Compare
25fc879
to
6757e1f
Compare
tag
->tag_suffix
@nkemnitz made the change. Couldn't verify it works because I'm having an access issue, but hope that will resolve independently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, no objection.
It's unintuitive that the actual docker tag is not identical to
--tag
argument given to the script. Too much know-how