Update .gitlab-ci.yml file

This commit is contained in:
梁俊勇 2022-08-01 12:47:10 +00:00
parent 7d8eb7231a
commit a837414d9d

View File

@ -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}
- echo 123