From a837414d9dc88068b4addb4301c428cd1fcbe9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E4=BF=8A=E5=8B=87?= <2021212687@stu.cqupt.edu.cn> Date: Mon, 1 Aug 2022 12:47:10 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6c436d..2519b9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,8 @@ docker_build: image: docker:latest script: - docker build -t console:${PACKAGE_VERSION} . + - docker tag console:${PACKAGE_VERSION} reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} + - docker push reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} tags: - cluster @@ -42,5 +44,5 @@ release: docker_deploy: stage: deploy script: - - docker tag console:${PACKAGE_VERSION} reg.sre.victor-core.top/cobalt-strike/REPOSITORY:${PACKAGE_VERSION} - - docker push reg.sre.victor-core.top/cobalt-strike/REPOSITORY:${PACKAGE_VERSION} \ No newline at end of file + - echo 123 + \ No newline at end of file