@ -68,7 +68,6 @@ steps:
cp config/database.yml.sample config/database.yml
cp lib/assets/javascripts/cdb/secrets.example.json lib/assets/javascripts/cdb/secrets.json
# Build image, we don't compile assets here, since they are not required for tests and the image is not pushed to the registry
- name: gcr.io/cloud-builders/docker
entrypoint: /bin/bash
args:
@ -75,7 +75,7 @@ steps:
- -cx
- |
docker pull gcr.io/cartodb-on-gcp-main-artifacts/builder:${_BRANCH_TAG}
if [ $? -ne 0 ]
then
docker pull gcr.io/cartodb-on-gcp-main-artifacts/builder:latest
docker tag gcr.io/cartodb-on-gcp-main-artifacts/builder:latest gcr.io/cartodb-on-gcp-main-artifacts/builder:${_BRANCH_TAG}