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