Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 8bf7a73

Browse files
Katherine BlackKatherine Black
authored andcommitted
Update tag check.
1 parent 871d167 commit 8bf7a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/scripts/build_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ docker --config="${DOCKER_CONF}" login -u="${QUAY_USER}" -p="${QUAY_TOKEN}" quay
2222
docker --config="${DOCKER_CONF}" login -u="$RH_REGISTRY_USER" -p="$RH_REGISTRY_TOKEN" registry.redhat.io
2323

2424
# Check if semver tagged image already exists, or this is the first build of it.
25-
if [[ ! "docker --config="${DOCKER_CONF}" pull ${IMAGE_NAME}:${GIT_TAG}" ]]; then
25+
if [[ ! `docker --config="${DOCKER_CONF}" pull ${IMAGE_NAME}:${GIT_TAG}` ]]; then
2626
echo "First time encountering ${GIT_TAG}, building..."
2727
push_git_tag=true
2828
else

0 commit comments

Comments
 (0)