This commit is contained in:
w-mj 2023-03-12 11:40:04 +08:00
parent 0d994274e6
commit 3fc1a80c99
No known key found for this signature in database
GPG Key ID: 3A2CB5BE2F835897
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ build:
deploy:
image: bitnami/kubectl:latest
stage: deploy
only:
- tags
tags:
- Machine0
script:
- sed -i 's/DOCKER_TAG_NAME/'"$CI_COMMIT_TAG"'/' install.yaml
- kubectl apply -f install.yaml --kubeconfig=$CG_KUBE_CONFIG