I read about registry v2 api, https://docs.docker.com/registry/spec/api/
I have some code below to get access token from my repos in docker hub, but it seems I only have pull access instead of pull and push access.
Should I do login then I can get push access and what apis to do login, please?
echo “URI:” $URI
curl -sL -o /dev/null -D- $URI“
grep "Www-Authenticate" <<<"$MANIFEST""