code beautify
This commit is contained in:
parent
fe2e5c7144
commit
f5b28f1edb
@ -25,8 +25,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- export KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- cat $CI_WORKSPACE/deployment/deploy-yml.tmpl | \
|
- cat $CI_WORKSPACE/deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,'$IMAGE_NAME':'$CI_COMMIT_TAG',' | kubectl apply -f -
|
||||||
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$CI_COMMIT_TAG',' | \
|
|
||||||
kubectl apply -f -
|
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user