Commit c56af3c6 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Merge branch 'docker_better_build' into 'master'

Fix docker push command

See merge request noc/noc!2360
parents 5da383d9 0268b0a0
......@@ -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
......
Supports Markdown
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