mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -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 \
|
||||
-H "Content-Type: application/json" \
|
||||
-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)
|
||||
|
||||
#######################
|
||||
|
@ -245,7 +245,7 @@ RemoveImage()
|
|||
exit 1
|
||||
else
|
||||
# SUCCESS
|
||||
echo "Successfully [removed] Docker image tag from DockerHub!"
|
||||
echo "Successfully [removed] Docker image tag:[$IMAGE_VERSION] from DockerHub!"
|
||||
fi
|
||||
}
|
||||
################################################################################
|
||||
|
|
|
@ -128,6 +128,7 @@ ValidateInput()
|
|||
# Set the IMAGE_VERSION to the BRANCH_NAME #
|
||||
############################################
|
||||
IMAGE_VERSION="$BRANCH_NAME"
|
||||
echo "Tag:[$IMAGE_VERSION]"
|
||||
else
|
||||
echo "Successfully found:[IMAGE_VERSION], value:[$IMAGE_VERSION]"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue