# Get a token from hub.docker.com with the owner credentials. token=$(curl -s \ -X POST \ -H "Content-Type: application/json" \ -d '{"username": "'"$DOCKER_REGISTRY_USERNAME"'", "password": "'"$DOCKER_REGISTRY_TOKEN"'"}' \ https://hub.docker.com/v2/users/login/ | jq -r .token) # Generate a JSON with the README.md as the full_description. json=$(jq -n \ --arg readme "$(