Skip to content

Commit

Permalink
fix headless-ffmpeg acrRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
rsonghuster committed Nov 8, 2022
1 parent b6437e1 commit 258a8b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions headless-ffmpeg/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion headless-ffmpeg/src/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
instanceType: c1
timeout: 7200
customContainerConfig:
image: "{{ acrImage }}"
image: "{{ acrRegistry }}"
environmentVariables:
OSS_AK_ID: "{{ ossAkID }}"
OSS_AK_SECRET: "{{ ossAkSecret }}"
Expand Down

0 comments on commit 258a8b8

Please sign in to comment.