Skip to content

Commit

Permalink
fix jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Oct 10, 2024
1 parent 448ccb7 commit c2f479a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ pipeline {
if [ "x$BRANCH_NAME" != "xmaster" ]; then
branch=`echo $BRANCH_NAME | awk -F '/' '{ print $2 }'`
fi
sed -i "s/sphinx-proxy:latest/sphinx-proxy:$branch/g" cmd/sphinx-proxy/k8s/02-sphinx-proxy.yaml
sed -i "s/uhub.service.ucloud.cn/$DOCKER_REGISTRY/g" cmd/sphinx-proxy/k8s/02-sphinx-proxy.yaml
sed -i "s/sphinx-proxy:latest/sphinx-proxy:$branch/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
make deploy-to-k8s-cluster
'''.stripIndent())
}
Expand Down

0 comments on commit c2f479a

Please sign in to comment.