diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b08d683..cbcd499 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,12 +14,12 @@ stages: - build - deploy -deploy-staging:dep: +build-staging:dep: stage: build only: - - master - tags: - $TAG + tags: + - master script: - echo "===== start build ==========" - docker build -t ${IMAGE_NAME} . @@ -30,9 +30,9 @@ deploy-staging:dep: deploy-staging:dep: stage: deploy only: - - master - tags: - $TAG + tags: + - master script: - echo "===== start deploy ==========" - if [ "$(kubectl get deployment -n $K8S_NS | grep $DEPLOYMENT_NAME | awk '{print $1}')" ]; then