Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
analytics
Commits
ec4090fd
Commit
ec4090fd
authored
Apr 06, 2022
by
Luigi Sbailo
Browse files
Update .gitlab-ci.yml
parent
ceeba3aa
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ec4090fd
...
...
@@ -35,7 +35,7 @@ build to production:
-
docker info
script
:
-
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment