Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker): Stop accidentally skipping component image builds
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 <[email protected]>
- Loading branch information