-
Notifications
You must be signed in to change notification settings - Fork 314
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(docker): Rename images to new defaults #7801
Conversation
10702f7
to
2d1e251
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7801 +/- ##
=========================================
Coverage 67.24% 67.24%
Complexity 2044 2044
=========================================
Files 356 356
Lines 17057 17057
Branches 2440 2440
=========================================
Hits 11470 11470
Misses 4568 4568
Partials 1019 1019
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
35b1114
to
6f50f00
Compare
0a33817
to
8722b15
Compare
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.
Additionally the language component images now have named version with a hash to enable checking if contents of an image has changed without changing core language.
I propose to do this change in a preceding commit as it's not really on the topic of just renaming the Docker images.
2361b02
to
85002d7
Compare
2bbb467
to
5a2fd32
Compare
Is mention before, the change and fix are coupled, no reason to do two separate entries. |
5a2fd32
to
af5028b
Compare
This was answered and fixed on latest push
32cb536
to
20d65fd
Compare
afaec77
to
b01e2de
Compare
b01e2de
to
818840b
Compare
In order to assemble the ORT docker image(s), the GitHub action first builds the component images and then the main images using the previously built component images. Each component image build is skipped (for efficiency) if the image with the needed tag already exists. As tag, the version of the tooling of the particular ecosystem is used, e.g. ghcr.io/oss-review-toolkit/python:3.11.5. Using only the main tooling version as cache key is problematic, because it leads to accidentally skipping of component image builds. This may happen when any of the BUILD ARGS has changed. Fix this by including a hash of the build args into the image tags. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
The name changing allows to move the extended separated bits on previous adoption to a unified file. Now the new run target is based on previous extended image, and the original run target is now called minimal. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Change the build scripts to new minimal / ort images. Naming had a slightly change from components as add to a subdomain (ort/component) to a direct component naming, making equal to upstream naming. The explicit call to Dockerfile file name is not needed anymore, as only a single Dockerfile exists after name changing. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Custom image now is named with dash to match Dockerfile-legacy naming. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Rename Docker image 'ort' to 'ort-minimal' and 'ort-extended' to 'ort' as agreed in community vote to make it easier for new users to understand difference between ORT Docker images. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
818840b
to
54fe55f
Compare
Rename Docker image 'ort' to 'ort-minimal' and 'ort-extended' to 'ort' as agreed in community vote
to make it easier for new users to understand difference between ORT Docker images.
Additionally the language component images now have named version with a hash to enable checking if contents
of an image has changed without changing core language.
Closes: #7798