Created
July 30, 2020 02:24
-
-
Save thephw/892ef5e6be307b6ed49d39b28d7484e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the digest from a tag on a remote repository | |
docker inspect ${IMAGE_TAG} --format '{{index .RepoDigests 0 }}' | |
# Get the tags from digest | |
docker inspect ${IMAGE_DIGEST} --format '{{index .RepoTags }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment