From cbc565ac2b65f451231414a635fae9e4d997699c Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Tue, 10 Dec 2024 14:49:59 -0700 Subject: [PATCH] Updatd build script --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index c51a921..4aa8f15 100755 --- a/build.sh +++ b/build.sh @@ -137,8 +137,8 @@ cicd_publish() { [ -z "${!CRED}" ] && echo "Missing $CRED, skipping docker login." && export SKIP_DOCKER_LOGIN=1 done [[ "$SKIP_DOCKER_LOGIN" != "1" ]] && docker login "$GIT_REPO_NAME" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" - docker push ${COMMIT_TAG} - docker push ${LATEST_TAG} + docker push ${COMMIT_TAG} || exit 1 + docker push ${LATEST_TAG} || exit 1 echo "Completed Publishing Software" }