This commit is contained in:
2022-08-04 08:41:09 +08:00
parent 26f09715da
commit d49e5507f1
2 changed files with 15 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ release:
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- |
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name CI_COMMIT_TAG \
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
--assets-link "{\"name\":\"${LINUX_AMD64_BINARY}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}\"}"
docker_deploy:
@@ -49,6 +49,7 @@ docker_deploy:
name: bitnami/kubectl
entrypoint: [""]
script:
- kubectl run console-${POD_VERSION} --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
- kubectl apply -f deploy.yaml
tags:
- cluster