Commit 4e64c801 authored by Aleksey Shirokih's avatar Aleksey Shirokih Committed by Andrey Vertiprahov
Browse files

Merge branch 'docker_better_build' into 'master'

Fix docker push command

See merge request noc/noc!2360

(cherry picked from commit c56af3c6)

de671883 Fix docker push command
parent 098b80f9
......@@ -205,7 +205,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