From a95205e64b63ed3b9f0f0c1f1e27580fdff3162e Mon Sep 17 00:00:00 2001 From: robinsonnie Date: Mon, 3 Jul 2023 17:04:41 +0800 Subject: [PATCH] upgrade image v2->v4 Signed-off-by: robinsonnie --- publish.yaml | 2 +- src/s.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/publish.yaml b/publish.yaml index 156ff43..359ca08 100644 --- a/publish.yaml +++ b/publish.yaml @@ -11,7 +11,7 @@ Type: Application Name: start-modelscope Provider: - 阿里云 -Version: 0.1.5 +Version: 0.1.6 Description: ModelScope应用 HomePage: https://github.com/devsapp/start-modelscope Tags: diff --git a/src/s.yaml b/src/s.yaml index bdc05fd..26bef9d 100644 --- a/src/s.yaml +++ b/src/s.yaml @@ -59,11 +59,12 @@ services: instanceConcurrency: 1 runtime: custom-container customContainerConfig: - image: registry.${vars.region}.aliyuncs.com/modelscope-repo/modelscope:fc-deploy-common-v2 + image: registry.${vars.region}.aliyuncs.com/modelscope-repo/modelscope:fc-deploy-common-v4 environmentVariables: MODEL_ID: {{ modelId }} MODEL_VERSION: {{ modelRevision }} MODELSCOPE_CACHE: /mnt/auto + MODELSCOPE_TOKEN: {{ accessToken }} TASK: {{ task }} triggers: