From 56ed19d6164497dc5e20302ec6a1ecac3341d63b Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 22 Aug 2023 14:37:14 +0800 Subject: [PATCH] test --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 已经构建完了"