Updatd build script
All checks were successful
git.cronocide.net/qemu-docker-slim/pipeline/head This commit looks good
All checks were successful
git.cronocide.net/qemu-docker-slim/pipeline/head This commit looks good
This commit is contained in:
parent
875c640609
commit
cbc565ac2b
4
build.sh
4
build.sh
@ -137,8 +137,8 @@ cicd_publish() {
|
|||||||
[ -z "${!CRED}" ] && echo "Missing $CRED, skipping docker login." && export SKIP_DOCKER_LOGIN=1
|
[ -z "${!CRED}" ] && echo "Missing $CRED, skipping docker login." && export SKIP_DOCKER_LOGIN=1
|
||||||
done
|
done
|
||||||
[[ "$SKIP_DOCKER_LOGIN" != "1" ]] && docker login "$GIT_REPO_NAME" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
[[ "$SKIP_DOCKER_LOGIN" != "1" ]] && docker login "$GIT_REPO_NAME" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
|
||||||
docker push ${COMMIT_TAG}
|
docker push ${COMMIT_TAG} || exit 1
|
||||||
docker push ${LATEST_TAG}
|
docker push ${LATEST_TAG} || exit 1
|
||||||
echo "Completed Publishing Software"
|
echo "Completed Publishing Software"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user