diff --git a/lib/build/Makefile.docker_image b/lib/build/Makefile.docker_image index 67c522eb..9fb3c17f 100644 --- a/lib/build/Makefile.docker_image +++ b/lib/build/Makefile.docker_image @@ -73,18 +73,16 @@ promote_image: $(HOME)/.docker/cli-plugins/docker-buildx --build-arg=BUILD_DATE=$(shell date +%Y-%m-%dT%H:%M:%SZ) # update dockerhub README - [ -s /usr/bin/jq ] || apk add jq - @JSON=$$(jq -n --arg pwd "$(DOCKER_TOKEN)" --arg user "$(USER_LOGIN)" \ - '{username: $user, password: $pwd}') - @JWT=$$(curl -s -H "Content-Type: application/json" -X POST \ - -d "$$JSON" https://hub.docker.com/v2/users/login/ |jq -r .token) - # Build JSON payload securely and send PATCH request - # jq --arg escapes special characters / newlines in markdown text - RESP=$$(jq -n --arg desc "$(