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

GONRG-1475 - parametrize containerization stage

parent c6a9111e
No related branches found
No related tags found
1 merge request!88OSDU-GCP: parametrize containerization stage
Pipeline #20218 passed with warnings
...@@ -20,11 +20,11 @@ steps: ...@@ -20,11 +20,11 @@ steps:
'build', 'build',
'--build-arg', 'PROVIDER_NAME=${_PROVIDER_NAME}', '--build-arg', 'PROVIDER_NAME=${_PROVIDER_NAME}',
'--build-arg', 'PORT=${_PORT}', '--build-arg', 'PORT=${_PORT}',
'-t', 'gcr.io/$PROJECT_ID/os-legal/legal-${_PROVIDER_NAME}:${_SHORT_SHA}', '-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_PROVIDER_NAME}:${_SHORT_SHA}',
'-t', 'gcr.io/$PROJECT_ID/os-legal/legal-${_PROVIDER_NAME}:latest', '-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_PROVIDER_NAME}:latest',
'-f', 'provider/legal-${_PROVIDER_NAME}/cloudbuild/Dockerfile.cloudbuild', '-f', 'provider/${_GCP_SERVICE}-${_PROVIDER_NAME}/cloudbuild/Dockerfile.cloudbuild',
'.' '.'
] ]
images: images:
- 'gcr.io/$PROJECT_ID/os-legal/legal-${_PROVIDER_NAME}' - 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_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