From 258a8b89fe94e9a6ab102beda8499036270d9b3c Mon Sep 17 00:00:00 2001 From: rsonghuster Date: Tue, 8 Nov 2022 14:17:16 +0800 Subject: [PATCH] fix headless-ffmpeg acrRegistry --- headless-ffmpeg/publish.yaml | 12 +++++++----- headless-ffmpeg/src/s.yaml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/headless-ffmpeg/publish.yaml b/headless-ffmpeg/publish.yaml index 081f2f6..6e3a18c 100644 --- a/headless-ffmpeg/publish.yaml +++ b/headless-ffmpeg/publish.yaml @@ -2,7 +2,7 @@ Type: Application Name: headless-ffmpeg Provider: - 阿里云 -Version: 0.1.22 +Version: 0.1.23 Description: 快速部署一个全景录制的应用到阿里云函数计算 HomePage: https://github.com/devsapp/start-ffmpeg/tree/master/headless-ffmpeg Tags: @@ -76,11 +76,13 @@ Parameters: authorities: - AliyunContainerRegistryFullAccess - AliyunFCDefaultRolePolicy - acrImage: - title: ACR Image + acrRegistry: + title: 阿里云容器镜像 type: string - default: '' - description: 阿里云容器镜像服务 image 的名字,比如 registry.cn-hangzhou.aliyuncs.com/fc-demo/headless-ffmpeg:v1 + examples: ['registry.cn-hangzhou.aliyuncs.com/fc-demo/headless-ffmpeg:v1'] + description: 阿里云容器镜像服务 image 的名字 + x-acr: + type: 'select' ossBucket: title: OSS 存储桶名 type: string diff --git a/headless-ffmpeg/src/s.yaml b/headless-ffmpeg/src/s.yaml index b1100da..ba935b1 100644 --- a/headless-ffmpeg/src/s.yaml +++ b/headless-ffmpeg/src/s.yaml @@ -47,7 +47,7 @@ services: instanceType: c1 timeout: 7200 customContainerConfig: - image: "{{ acrImage }}" + image: "{{ acrRegistry }}" environmentVariables: OSS_AK_ID: "{{ ossAkID }}" OSS_AK_SECRET: "{{ ossAkSecret }}"