mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-28 11:40:57 -05:00
adding the fixes
This commit is contained in:
parent
c4d74841a7
commit
3876968345
2 changed files with 3 additions and 2 deletions
|
@ -202,7 +202,7 @@ RemoveImage()
|
||||||
TOKEN=$(curl -s -k \
|
TOKEN=$(curl -s -k \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-X POST \
|
-X POST \
|
||||||
-d '{"username": "'$DOCKER_USERNAME'", "password": "'$DOCKER_PASSWORD'"}' \
|
-d "{\"username\": \"$DOCKER_USERNAME\", \"password\": \"$DOCKER_PASSWORD\"}" \
|
||||||
"https://hub.docker.com/v2/users/login/" | jq -r .token 2>&1)
|
"https://hub.docker.com/v2/users/login/" | jq -r .token 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
|
@ -245,7 +245,7 @@ RemoveImage()
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# SUCCESS
|
# SUCCESS
|
||||||
echo "Successfully [removed] Docker image tag from DockerHub!"
|
echo "Successfully [removed] Docker image tag:[$IMAGE_VERSION] from DockerHub!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -128,6 +128,7 @@ ValidateInput()
|
||||||
# Set the IMAGE_VERSION to the BRANCH_NAME #
|
# Set the IMAGE_VERSION to the BRANCH_NAME #
|
||||||
############################################
|
############################################
|
||||||
IMAGE_VERSION="$BRANCH_NAME"
|
IMAGE_VERSION="$BRANCH_NAME"
|
||||||
|
echo "Tag:[$IMAGE_VERSION]"
|
||||||
else
|
else
|
||||||
echo "Successfully found:[IMAGE_VERSION], value:[$IMAGE_VERSION]"
|
echo "Successfully found:[IMAGE_VERSION], value:[$IMAGE_VERSION]"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue