diff --git a/action.yml b/action.yml index f7fd2da..1c867ce 100644 --- a/action.yml +++ b/action.yml @@ -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