Update .gitlab-ci.yml
This commit is contained in:
parent
3183b2ed19
commit
b1e7510e09
|
|
@ -17,8 +17,6 @@ deploy-staging:dep:
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
|
||||||
- $TAG
|
|
||||||
script:
|
script:
|
||||||
- echo "===== start build =========="
|
- echo "===== start build =========="
|
||||||
- docker build -t ${IMAGE_NAME} .
|
- docker build -t ${IMAGE_NAME} .
|
||||||
|
|
@ -30,8 +28,6 @@ deploy-staging:dep:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
|
||||||
- $TAG
|
|
||||||
script:
|
script:
|
||||||
- echo "===== start deploy =========="
|
- echo "===== start deploy =========="
|
||||||
- if [ "$(kubectl get deployment -n $K8S_NS | grep $DEPLOYMENT_NAME | awk '{print $1}')" ]; then
|
- if [ "$(kubectl get deployment -n $K8S_NS | grep $DEPLOYMENT_NAME | awk '{print $1}')" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue