-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix image layer meta gathering #339
Conversation
638d6b5
to
b77bd38
Compare
7339fbb
to
2c436b9
Compare
If an image was not pulled or pushed by the docker CLI command then there is no map between image layer diff IDs and digest. This change adjust the layer meta gathering algorithm to this case. Specifically, it fetches image manifest and gets image layer digests from it. Signed-off-by: Mike Sul <mike.sul@foundries.io>
0026efd
to
1c3ec86
Compare
apps/build.sh
Outdated
@@ -17,7 +17,7 @@ HERE=$(dirname $(readlink -f $0)) | |||
require_params FACTORY | |||
|
|||
export DOCKER_BUILDKIT=1 | |||
BUILDKIT_VERSION="${BUILDKIT_VERSION-v0.10.3}" | |||
BUILDKIT_VERSION="${BUILDKIT_VERSION-v0.13.1}" |
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.
are we sure this change is needed. If so - can we update the commit message to explain why?
Also - Can we bump this without bumping the docker-dind-ci container image?
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.
No, I am not sure. Let me double check it.
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.
| #1 DONE 5.5s
| ERROR: multiple outputs currently unsupported by the current BuildKit daemon, please upgrade to version v0.13+ or use a single output
1c3ec86
to
8b61115
Compare
8b61115
to
50007ef
Compare
If buildkit and buildx supports multiple outputs then: - Load built images to the local docker store. - Push/output built images to registry. Make sure the OCI types are not used and create an image manifest not index. Signed-off-by: Mike Sul <mike.sul@foundries.io>
50007ef
to
0435867
Compare
No description provided.