From 3fc1a80c99b60cc0e1cfd376b77d36890d069fca Mon Sep 17 00:00:00 2001 From: w-mj Date: Sun, 12 Mar 2023 11:40:04 +0800 Subject: [PATCH] v1.1.7 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b69857..53acdcb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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