🐞 Fix error reporting

This commit is contained in:
Christian Mäder 2018-03-05 16:28:35 +01:00
parent 4d16297418
commit bc786364d9
No known key found for this signature in database
GPG key ID: 92FFD0A711F196BB
3 changed files with 7 additions and 4 deletions

View file

@ -56,6 +56,8 @@ ALREADY_BUILT="$($CURL -H "${AUTHORIZATION_HEADER}" "${URL_DOCKERHUB_TAG}" | jq
if [ "$ALREADY_BUILT" == "false" ]; then
# shellcheck disable=SC2068
./build.sh "${VERSION}" $@
exit $?
else
echo "${DOCKER_TAG} already exists on https://hub.docker.com/r/${DOCKERHUB_REPO}"
exit 0
fi