From 0fcf044fd71d739579485870eb92de05417840a8 Mon Sep 17 00:00:00 2001 From: Zhao KK Date: Wed, 28 Feb 2024 10:15:30 +0000 Subject: [PATCH] update pullpolicy --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d4807ae..a4339e2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -339,6 +339,7 @@ pipeline { git checkout $tag sed -i "s/sphinx-proxy:latest/sphinx-proxy:$tag/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml sed -i "s/uhub.service.ucloud.cn/$DOCKER_REGISTRY/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml + sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml make deploy-to-k8s-cluster '''.stripIndent()) } @@ -363,6 +364,7 @@ pipeline { git checkout $tag sed -i "s/sphinx-proxy:latest/sphinx-proxy:$tag/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml sed -i "s/uhub.service.ucloud.cn/$DOCKER_REGISTRY/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml + sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml make deploy-to-k8s-cluster '''.stripIndent()) }