Update .gitlab-ci.yml file
This commit is contained in:
parent
7d8eb7231a
commit
a837414d9d
@ -28,6 +28,8 @@ docker_build:
|
|||||||
image: docker:latest
|
image: docker:latest
|
||||||
script:
|
script:
|
||||||
- docker build -t console:${PACKAGE_VERSION} .
|
- 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:
|
tags:
|
||||||
- cluster
|
- cluster
|
||||||
|
|
||||||
@ -42,5 +44,5 @@ release:
|
|||||||
docker_deploy:
|
docker_deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- docker tag console:${PACKAGE_VERSION} reg.sre.victor-core.top/cobalt-strike/REPOSITORY:${PACKAGE_VERSION}
|
- echo 123
|
||||||
- docker push reg.sre.victor-core.top/cobalt-strike/REPOSITORY:${PACKAGE_VERSION}
|
|
Loading…
x
Reference in New Issue
Block a user