From 2d48e4551aad2b4d94de74ddc04d19015e2b3d27 Mon Sep 17 00:00:00 2001 From: Kendar Date: Wed, 28 Sep 2022 17:31:38 +0200 Subject: [PATCH] Remove tag not working at all --- scripts/libs/docker.bat | 10 +++++----- scripts/libs/docker.sh | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/libs/docker.bat b/scripts/libs/docker.bat index 8ae3b697b..3d0c76436 100644 --- a/scripts/libs/docker.bat +++ b/scripts/libs/docker.bat @@ -33,11 +33,11 @@ goto :eof goto :eof :docker_remove_tag - set DOCKER_IMAGE_NAME=%~1 - set DOCKER_TAG=%~2 - call %LIB_SCRIPT_DIR%curl "https://hub.docker.com/v2/repositories/%DOCKER_ORG%/%DOCKER_IMAGE_NAME%/tags/%DOCKER_TAG%/" ^ - -X DELETE ^ - -H "Authorization: JWT %DOCKER_TOKEN%" + REM set DOCKER_IMAGE_NAME=%~1 + REM set DOCKER_TAG=%~2 + REM call %LIB_SCRIPT_DIR%curl "https://hub.docker.com/v2/repositories/%DOCKER_ORG%/%DOCKER_IMAGE_NAME%/tags/%DOCKER_TAG%/" ^ + REM -X DELETE ^ + REM -H "Authorization: JWT %DOCKER_TOKEN%" goto :eof diff --git a/scripts/libs/docker.sh b/scripts/libs/docker.sh index 0b923fd2b..67da21914 100644 --- a/scripts/libs/docker.sh +++ b/scripts/libs/docker.sh @@ -30,11 +30,11 @@ EOF } docker_remove_tag () { - IMAGE_NAME=$1 - TAG=$2 - curl "https://hub.docker.com/v2/repositories/${DOCKER_ORG}/${IMAGE_NAME}/tags/${TAG}/" \ - -X DELETE \ - -H "Authorization: JWT ${DOCKER_TOKEN}" + # IMAGE_NAME=$1 + # TAG=$2 + # curl "https://hub.docker.com/v2/repositories/${DOCKER_ORG}/${IMAGE_NAME}/tags/${TAG}/" \ + # -X DELETE \ + # -H "Authorization: JWT ${DOCKER_TOKEN}" } docker_push(){