Skip to content

Instantly share code, notes, and snippets.

@zffocussss
Last active February 13, 2025 02:59
Show Gist options
  • Save zffocussss/cacfc7f0210c0fc86f68c1d3405a73d0 to your computer and use it in GitHub Desktop.
Save zffocussss/cacfc7f0210c0fc86f68c1d3405a73d0 to your computer and use it in GitHub Desktop.
crane work with ACR(azure container registry)
az acr login -n ${acr}.azurecr.io
crane ls ${acr}.azurecr.io/${repo}
@zffocussss
Copy link
Author

zffocussss commented Feb 13, 2025

skopeo

az acr login -n ${acr}.azurecr.io --expose-token | jq -r '.accessToken' | skopeo login ${acr}.azurecr.io \
--username 00000000-0000-0000-0000-000000000000 \
--password-stdin
skopeo inspect docker://${acr}.azurecr.io/${repo}:${tag}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment