name: 'yq - portable yaml processor'
description: 'create, read, update, delete, merge, validate and do more with yaml'
branding:
icon: command
color: gray-dark
inputs:
cmd:
description: 'The Command which should be run'
required: true
outputs:
result:
description: "The complete result from the yq command being run"
runs:
using: 'docker'
image: 'docker://mikefarah/yq:4-githubaction'
args:
- ${{ inputs.cmd }}
可以看到 using: docker 的声明,但是在 CNB 上,我们是没有虚拟机这一层的。这就好比中国直接跳过了 pc 互联网,直接去移动互联网了。整个思路是不一样的。
Github Actions有太多的社区插件,这是目前CNB不足的,可够在CNB中提供直接使用Github Actions插件能力?