Update .gitlab-ci.yml
This commit is contained in:
parent
55c6fc93e4
commit
cca3b135cf
|
@ -40,8 +40,8 @@ build-api:
|
|||
script:
|
||||
- export $(cat context.env | xargs)
|
||||
|
||||
- docker build sample-api-users -f sample-api-users/Dockerfile.prod -t ${API_PROD_IMAGE_NAME}
|
||||
- docker build sample-api-users -f sample-api-users/Dockerfile.test --build-arg "BASE_IMAGE=$API_PROD_IMAGE_NAME" -t ${API_TEST_IMAGE_NAME}
|
||||
- docker build flights-domain -f flights-domain/Dockerfile.prod -t ${API_PROD_IMAGE_NAME}
|
||||
- docker build flights-domain -f flights-domain/Dockerfile.test --build-arg "BASE_IMAGE=$API_PROD_IMAGE_NAME" -t ${API_TEST_IMAGE_NAME}
|
||||
|
||||
- docker login -u $CI_REGISTRY_USER --password $CI_JOB_TOKEN $CI_REGISTRY
|
||||
|
||||
|
|
Loading…
Reference in New Issue