Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrey Yemelyanov
noc
Commits
c56af3c6
Commit
c56af3c6
authored
Jul 20, 2019
by
Aleksey Shirokih
Browse files
Merge branch 'docker_better_build' into 'master'
Fix docker push command See merge request
!2360
parents
5da383d9
0268b0a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c56af3c6
...
...
@@ -323,7 +323,9 @@ Build release image:
-
docker build --target dev -t $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_TAG -f .docker/Dockerfile .
# registry.getnoc.com/noc/noc/static:stable
-
docker build --target static -t $CI_REGISTRY_IMAGE/static:$CI_COMMIT_TAG -f .docker/Dockerfile .
-
docker push $CI_REGISTRY_IMAGE/code:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE/static:$CI_COMMIT_TAG
-
docker push $CI_REGISTRY_IMAGE/code:$CI_COMMIT_TAG
-
docker push $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_TAG
-
docker push $CI_REGISTRY_IMAGE/static:$CI_COMMIT_TAG
-
docker rmi $CI_REGISTRY_IMAGE/code:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_TAG $CI_REGISTRY_IMAGE/static:$CI_COMMIT_TAG
tags
:
-
shell
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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