File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ source "$ci_dir/shared.sh"
4646CACHE_DOMAIN=" ${CACHE_DOMAIN:- ci-caches.rust-lang.org} "
4747
4848if [ -f " $docker_dir /$image /Dockerfile" ]; then
49- if [ " $CI " != " " ] ; then
49+ if isCI ; then
5050 hash_key=/tmp/.docker-hash-key.txt
5151 rm -f " ${hash_key} "
5252 echo $image >> $hash_key
@@ -102,7 +102,7 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
102102 CACHE_IMAGE_TAG=${REGISTRY} /${REGISTRY_USERNAME} /rust-ci-cache:${cksum}
103103
104104 # On non-CI jobs, we don't do any caching.
105- if [[ " $CI " == " " ]] ;
105+ if ! isCI ;
106106 then
107107 retry docker build --rm -t rust-ci -f " $dockerfile " " $context "
108108 # On PR CI jobs, we don't have permissions to write to the registry cache,
289289 command=(/checkout/src/ci/run.sh)
290290fi
291291
292- if [ " $CI " != " " ] ; then
292+ if isCI ; then
293293 # Get some needed information for $BASE_COMMIT
294294 #
295295 # This command gets the last merge commit which we'll use as base to list
You can’t perform that action at this time.
0 commit comments