Skip to content

Commit 265ba1d

Browse files
committed
(CI) fix if condition
1 parent 8be97cf commit 265ba1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build-docker-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ then
119119
ADDITIONAL_ARGS_LOCAL_BUILD="${ADDITIONAL_ARGS_LOCAL_BUILD} --ssh --ssh-key=YOUR_KEY_FILE"
120120
fi
121121

122-
if [[ "${CI_DOCKER_SSH}" == "true" ]]
122+
if [[ -n "${CI_OAUTH2_TOKEN}" ]]
123123
then
124124
ADDITIONAL_ARGS_LOCAL_BUILD="${ADDITIONAL_ARGS_LOCAL_BUILD} --oauth2_token=YOUR_OAUTH2_KEY"
125125
fi

0 commit comments

Comments
 (0)