diff --git a/action.yml b/action.yml index f3ca7e9..cd3ae16 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,8 @@ runs: echo "COPY dist /home" >> Dockerfile && \ echo "WORKDIR /home" >> Dockerfile && \ echo "ENTRYPOINT [\"./App\"]" >> Dockerfile && \ - echo "已经构建完DOCKERFILE了"' + echo "已经构建完DOCKERFILE了" && \ + cat Dockerfile' # - name: build .net app # uses: docker://mcr.microsoft.com/dotnet/sdk:7.0 @@ -25,7 +26,6 @@ runs: with: entrypoint: "/bin/sh" args: | - -c "cat Dockerfile" -c "echo 这是一个测试信息" -c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}-1 .' -c "echo 已经构建完了"