This commit is contained in:
xRain 2023-08-22 14:33:41 +08:00
parent 04042254f3
commit f295f21bcf

View File

@ -9,11 +9,11 @@ runs:
with:
entrypoint: "/bin/bash"
args: |
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile'
-c 'echo "COPY dist /home" >> Dockerfile'
-c 'echo "WORKDIR /home" >> Dockerfile'
-c 'echo "ENTRYPOINT [\"./App\"]" >> Dockerfile'
-c "echo 已经构建完DOCKERFILE了"
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
echo "COPY dist /home" >> Dockerfile
echo "WORKDIR /home" >> Dockerfile
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
echo 已经构建完DOCKERFILE了"'
# - name: build .net app
# uses: docker://mcr.microsoft.com/dotnet/sdk:7.0