Skip to content

fix collect image digests for service images built by bake #12784

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Apr 28, 2025

What I did
Fix: collect build images from bake output metdata indexed by expected image tag, not service name
Note: bake returns image.name but we can't rely on this as this is set with fully qualified name (docker.io/library/foo:latest) and user could have configured a "familiar name" (foo or foo:latest). So I preferred to use the list of expected built targets and check those were found in metadata.

Related issue
fixes #12774

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof requested a review from a team as a code owner April 28, 2025 06:49
@ndeloof ndeloof requested a review from glours April 28, 2025 06:49
@ndeloof ndeloof force-pushed the bake_service_image branch 3 times, most recently from 6e384a5 to 47443c2 Compare April 28, 2025 09:12
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof force-pushed the bake_service_image branch from 47443c2 to a9aea9c Compare April 28, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] docker compose does not start newly built image when COMPOSE_BAKE is true
1 participant