我正在使用 concourse 部署 .netcore 应用程序,我遇到的问题是我需要运行dotnet publish --configuration release
获取生成的发布文件夹并将其发布到 Cloud Foundry。
我可以用什么来代替这个 docker 图像来提供我需要的东西?:
platform linux
image: "docker:///_______" //using node img here for something else.
inputs:
- name: my-resource-1
outputs:
- name: my-resource-2
run:
path: my-resource-1/files/pub-dotnet.sh
我可以添加什么而不是我当前使用的节点图像来运行它:
-- 文件 pub-dotnet.sh
dotnet publish --configuration release