Description of the issue:
After pushing an image, it would be great to get the SHA hash of the image to be outputted (stdout). i "pin" the docker image when deploying to k8s, with the "@sha
so, would it be possible to output the SHA hash of the image built?
Expected behavior:
-
Steps to reproduce:
-
Environment:
jib-maven-plugin Configuration:
PASTE YOUR pom.xml CONFIGURATION HERE
jib-gradle-plugin Configuration:
PASTE YOUR build.gradle CONFIGURATION HERE
Log output:
Additional Information:
Hi @birdayz , Jib outputs the SHA hash of the image as a file in the build output directory. For Maven, this would usually be target/jib-image.digest, and for Gradle, this would usually be build/jib-image.digest.
thank you! :)
Most helpful comment
Hi @birdayz , Jib outputs the SHA hash of the image as a file in the build output directory. For Maven, this would usually be
target/jib-image.digest, and for Gradle, this would usually bebuild/jib-image.digest.