Created
March 25, 2021 19:00
-
-
Save jovemfelix/2b3498ec9374d50b8d0f47dde3ff8afb to your computer and use it in GitHub Desktop.
Get image info
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
export CREDS=$(oc whoami):$(oc whoami -t) | |
export REGISTRY=docker-registry-default.openshift.XXXX.com.br | |
IMAGE=docker-registry-default.openshift.XXXX.com.br/ag-CCCC/XXX-dotnet-sdk:latest | |
skopeo inspect --tls-verify=false --creds=$CREDS docker://$IMAGE > /tmp/IMAGE.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment