test
This commit is contained in:
parent
f295f21bcf
commit
c7b95c63ba
10
action.yml
10
action.yml
@ -9,11 +9,11 @@ runs:
|
|||||||
with:
|
with:
|
||||||
entrypoint: "/bin/bash"
|
entrypoint: "/bin/bash"
|
||||||
args: |
|
args: |
|
||||||
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
|
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile && \
|
||||||
echo "COPY dist /home" >> Dockerfile
|
echo "COPY dist /home" >> Dockerfile && \
|
||||||
echo "WORKDIR /home" >> Dockerfile
|
echo "WORKDIR /home" >> Dockerfile && \
|
||||||
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
|
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile && \
|
||||||
echo 已经构建完DOCKERFILE了"'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user