diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89262f25..5dc53f7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ stages: - build_project - + - build_image build_project: stage: build_project @@ -14,3 +14,13 @@ build_project: tags: - GN-XXG-Server +build_image: + stage: build_image + script: + - docker build -t "${CI_REGISTRY_IMAGE}_cn-ui:latest" . + - docker push "192.168.40.153:9080/cyber-narrator/${CI_REGISTRY_IMAGE}_cn-ui:latest" + when: on_success + only: + - dev-cicd + tags: + - GN-XXG-Server