File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/reference/api/registry Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,15 +222,15 @@ tags:
222222 " https://auth.docker.io/token?service=registry.docker.io&scope=repository:$REPO:pull,push,delete" \
223223 | jq -r .token)
224224
225- # Step 2: Get the manifest and extract the digest from response headers
225+ # Step 2 and 3 : Get the manifest and extract the digest from response headers
226226 DIGEST=$(curl -sI -H "Authorization : Bearer $TOKEN" \
227227 -H "Accept : application/vnd.docker.distribution.manifest.v2+json" \
228228 https://registry-1.docker.io/v2/$REPO/manifests/$TAG \
229229 | grep -i Docker-Content-Digest | tr -d '\r' | awk '{print $2}')
230230
231231 echo "Deleting manifest with digest : $DIGEST"
232232
233- # Step 3 : Delete the manifest by digest
233+ # Step 4 : Delete the manifest by digest
234234 curl -s -X DELETE \
235235 -H "Authorization : Bearer $TOKEN" \
236236 https://registry-1.docker.io/v2/$REPO/manifests/$DIGEST
You can’t perform that action at this time.
0 commit comments