We're going to use the new tag history API to see tag updates to cgr.dev/chainguard/static:latest
!
First, exchange your Chainguard token for a registry token. This assumes you've set up auth with chainctl auth configure-docker
:
tok=$(curl -H "Authorization: Bearer $(echo 'cgr.dev' | docker-credential-cgr get)" -v "https://cgr.dev/token?scope=repository:chainguard/static:pull" | jq -r .token)