Skip to content

Commit

Permalink
add bash flags
Browse files Browse the repository at this point in the history
  • Loading branch information
alberhander committed Apr 14, 2021
1 parent 665f230 commit 4576277
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/ci/cloudbuild-build-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ steps:
dir: /workspace/cartodb-onprem
entrypoint: /bin/bash
args:
- -e
- -cex
- |
docker build --label="org.opencontainers.image.created=$$(date --rfc-3339=seconds)" --label=org.opencontainers.image.revision=${COMMIT_SHA} --build-arg GRUNT_ENV=production --build-arg COMPILE_ASSETS=true --build-arg BUNDLE_JOBS=4 -t ${_DOCKER_IMAGE_NAME}-onprem:latest -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG} -t ${_DOCKER_IMAGE_NAME}-onprem:${SHORT_SHA} -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG}--${SHORT_SHA} --cache-from ${_DOCKER_IMAGE_NAME}:${_BRANCH_TAG} --cache-from ${_DOCKER_IMAGE_NAME}:latest .
waitFor: ['checkout-licensing-gear']
Expand Down
2 changes: 1 addition & 1 deletion script/ci/cloudbuild-build-pr-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ steps:
dir: /workspace/cartodb-onprem
entrypoint: /bin/bash
args:
- -e
- -cex
- |
docker build --label="org.opencontainers.image.created=$$(date --rfc-3339=seconds)" --label=org.opencontainers.image.revision=${COMMIT_SHA} --build-arg GRUNT_ENV=production --build-arg COMPILE_ASSETS=true --build-arg BUNDLE_JOBS=4 -t ${_DOCKER_IMAGE_NAME}-onprem:latest -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG} -t ${_DOCKER_IMAGE_NAME}-onprem:${SHORT_SHA} -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG}--${SHORT_SHA} --cache-from ${_DOCKER_IMAGE_NAME}:${_BRANCH_TAG} --cache-from ${_DOCKER_IMAGE_NAME}:latest .
waitFor: ['checkout-licensing-gear']
Expand Down
2 changes: 1 addition & 1 deletion script/ci/cloudbuild-onprem-dev-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ steps:
dir: /workspace/cartodb-onprem
entrypoint: /bin/bash
args:
- -e
- -cex
- |
docker build --label="org.opencontainers.image.created=$$(date --rfc-3339=seconds)" --label=org.opencontainers.image.revision=${COMMIT_SHA} --build-arg GRUNT_ENV=production --build-arg COMPILE_ASSETS=true --build-arg BUNDLE_JOBS=4 -t ${_DOCKER_IMAGE_NAME}-onprem:latest -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG} -t ${_DOCKER_IMAGE_NAME}-onprem:${SHORT_SHA} -t ${_DOCKER_IMAGE_NAME}-onprem:${_BRANCH_TAG}--${SHORT_SHA} --cache-from ${_DOCKER_IMAGE_NAME}:${_BRANCH_TAG} --cache-from ${_DOCKER_IMAGE_NAME}:latest .
waitFor: ['checkout-licensing-gear']
Expand Down

0 comments on commit 4576277

Please sign in to comment.