This commit is contained in:
xRain 2023-08-22 14:32:39 +08:00
parent bd2be8ed06
commit 04042254f3

View File

@ -15,10 +15,10 @@ runs:
-c 'echo "ENTRYPOINT [\"./App\"]" >> Dockerfile'
-c "echo 已经构建完DOCKERFILE了"
- name: build .net app
uses: docker://mcr.microsoft.com/dotnet/sdk:7.0
with:
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
# - name: build .net app
# uses: docker://mcr.microsoft.com/dotnet/sdk:7.0
# with:
# args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
- name: build docker image
uses: docker://docker:git