Commit ec4090fd authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Update .gitlab-ci.yml

parent ceeba3aa
......@@ -35,7 +35,7 @@ build to production:
- docker info
- docker pull ${CI_REGISTRY_IMAGE}:staging || true
- docker build --tag ${CI_REGISTRY_IMAGE}:production${CI_COMMIT_SHORT_SHA} --tag ${APP_REGISTRY}:analytics --tag ${APP_REGISTRY}:analytics${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest .
- docker build --cache-from ${CI_REGISTRY_IMAGE}:staging --tag ${CI_REGISTRY_IMAGE}:production${CI_COMMIT_SHORT_SHA} --tag ${APP_REGISTRY}:analytics --tag ${APP_REGISTRY}:analytics${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest .
- docker push ${CI_REGISTRY_IMAGE}:production${CI_COMMIT_SHORT_SHA}
- docker push ${APP_REGISTRY}:analytics${CI_COMMIT_SHORT_SHA}
- docker push ${APP_REGISTRY}:analytics
Markdown is supported
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