我使用 codepipeline 线来构建和部署 - 从 github 拉取并部署到 Fargate 容器 - 在 codebuild 中构建 dotnet 应用程序时,我遇到了这个错误。相当难住。有谁知道为什么它认为我的应用程序是 dotnet 2.2?
这是一条全新的管道
[Container] 2021/05/20 05:54:31 Waiting for agent ping
[Container] 2021/05/20 05:54:33 Waiting for DOWNLOAD_SOURCE
[Container] 2021/05/20 05:54:34 Phase is DOWNLOAD_SOURCE
[Container] 2021/05/20 05:54:34 CODEBUILD_SRC_DIR=/codebuild/output/src177986340/src
[Container] 2021/05/20 05:54:34 YAML location is /codebuild/output/src177986340/src/config/buildspec.yml
[Container] 2021/05/20 05:54:34 No commands found for phase name: install
[Container] 2021/05/20 05:54:34 Processing environment variables
[Container] 2021/05/20 05:54:35 Selecting 'dotnet' runtime version '3.1' based on manual selections...
[Container] 2021/05/20 05:54:35 Phase …Run Code Online (Sandbox Code Playgroud)