Skip to content
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

Write out jib-image.id when image is built #1260

Merged
merged 2 commits into from
Nov 19, 2018
Merged

Conversation

TadCordle
Copy link
Contributor

Fixes #1204

Path idPath = projectRoot.resolve("build/jib-image.id");
Assert.assertTrue(Files.exists(idPath));
String id = new String(Files.readAllBytes(idPath), StandardCharsets.UTF_8);
DescriptorDigest.fromDigest(id);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also assert they are different?

@TadCordle TadCordle merged commit 57f235d into master Nov 19, 2018
@TadCordle TadCordle deleted the i1204-jib-image.id branch November 19, 2018 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants