fixed (hopefully)
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
read -p "Dockerhub username: " DOCKERHUB_USERNAME
|
||||
read -p "Dockerhub PASSWORD: " DOCKERHUB_PASSWORD
|
||||
|
||||
curl -s -X POST "https://hub.docker.com/v2/auth/token" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"identifier\": \"${DOCKERHUB_USERNAME}\", \"secret\": \"${DOCKERHUB_PASSWORD}\"}" \
|
||||
| jq -r .access_token
|
||||
Reference in New Issue
Block a user