Update .gitlab-ci.yml

This commit is contained in:
Santiago Lo Coco 2023-10-19 10:18:04 -03:00
parent 55c6fc93e4
commit cca3b135cf
1 changed files with 2 additions and 2 deletions

View File

@ -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