Update .gitlab-ci.yml file
This commit is contained in:
parent
344c3a41a6
commit
a2d86da2dc
@ -6,6 +6,7 @@ variables:
|
||||
LINUX_AMD64_BINARY: "console-${PACKAGE_VERSION}"
|
||||
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/cobalt-strike/${PACKAGE_VERSION}"
|
||||
CI_COMMIT_TAG: "1.2.5"
|
||||
POD_VERSION: "1-2-5"
|
||||
|
||||
stages:
|
||||
- build
|
||||
@ -48,6 +49,6 @@ docker_deploy:
|
||||
name: bitnami/kubectl
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- kubectl patch console --image=reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} --kubeconfig=.kube/config --certificate-authority=.kube/ca.pem
|
||||
- kubectl run console-${POD_VERSION} --image=reg.sre.victor-core.top/cobalt-strike/console:${PACKAGE_VERSION} --kubeconfig=.kube/config --certificate-authority=.kube/ca.pem
|
||||
tags:
|
||||
- cluster
|
Loading…
x
Reference in New Issue
Block a user