From f7d6b235c732135f08ed15d7075984c1b8c242f7 Mon Sep 17 00:00:00 2001 From: hanxie Date: Mon, 17 Apr 2023 19:27:17 +0800 Subject: [PATCH] =?UTF-8?q?sd=20=E9=95=9C=E5=83=8F=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E9=A2=84=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish.yaml | 8 ++++++-- src/s.yaml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/publish.yaml b/publish.yaml index e4d0f26..4e520bc 100644 --- a/publish.yaml +++ b/publish.yaml @@ -3,7 +3,7 @@ Type: Application Name: fc-stable-diffusion Provider: - 阿里云 -Version: 0.0.17 +Version: 0.0.18 Description: 使用serverless devs将stable-diffusion部署到阿里云函数计算上 HomePage: 项目首页地址 Tags: #标签详情 @@ -25,4 +25,8 @@ Parameters: - cn-hangzhou - cn-shanghai - cn-shenzhen - \ No newline at end of file + imageUrl: + title: stable-diffusion 镜像地址 + type: string + default: '' + description: 'stable-diffusion 的镜像地址' \ No newline at end of file diff --git a/src/s.yaml b/src/s.yaml index d334a7e..651da75 100644 --- a/src/s.yaml +++ b/src/s.yaml @@ -26,7 +26,7 @@ services: customContainerConfig: args: '' accelerationType: Default - image: registry.${vars.region}.aliyuncs.com/fc-stable-diffusion/stable-diffusion:v1 + image: "{{ imageUrl }}" accelerationInfo: status: Preparing command: ''