Commit d2dbf184 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'OSDU-GCP_parametrize_containerization' into 'master'

OSDU-GCP: parametrize containerization stage

See merge request !61
parents 3e96253d 457fa472
Pipeline #20308 passed with stages
in 41 minutes and 1 second
...@@ -20,12 +20,12 @@ steps: ...@@ -20,12 +20,12 @@ 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-register/register-${_PROVIDER_NAME}:${_SHORT_SHA}', '-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_PROVIDER_NAME}:${_SHORT_SHA}',
'-t', 'gcr.io/$PROJECT_ID/os-register/register-${_PROVIDER_NAME}:latest', '-t', 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_PROVIDER_NAME}:latest',
'-f', 'provider/register-${_PROVIDER_NAME}/cloudbuild/Dockerfile.cloudbuild', '-f', 'provider/${_GCP_SERVICE}-${_PROVIDER_NAME}/cloudbuild/Dockerfile.cloudbuild',
'.' '.'
] ]
images: images:
- 'gcr.io/$PROJECT_ID/os-register/register-${_PROVIDER_NAME}' - 'gcr.io/$PROJECT_ID/${_APPLICATION_NAME}/${_GCP_SERVICE}-${_PROVIDER_NAME}'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment