Skip to content
Snippets Groups Projects
Commit 4f0d39ab authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

Parametrize cloudbuild.yaml

parent 39668e66
No related branches found
No related tags found
1 merge request!68Elastic 7
......@@ -20,12 +20,12 @@ steps:
'build',
'--build-arg', 'PROVIDER_NAME=${_PROVIDER_NAME}',
'--build-arg', 'PORT=${_PORT}',
'-t', 'gcr.io/$PROJECT_ID/os-indexer/indexer-${_PROVIDER_NAME}:${_SHORT_SHA}',
'-t', 'gcr.io/$PROJECT_ID/os-indexer/indexer-${_PROVIDER_NAME}:latest',
'-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/indexer-${_PROVIDER_NAME}:${_SHORT_SHA}',
'-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/indexer-${_PROVIDER_NAME}:latest',
'-f', 'provider/indexer-${_PROVIDER_NAME}/cloudbuild/Dockerfile.cloudbuild',
'.'
]
images:
- 'gcr.io/$PROJECT_ID/os-indexer/indexer-${_PROVIDER_NAME}'
- 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/indexer-${_PROVIDER_NAME}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment