test
This commit is contained in:
parent
4ac2e87668
commit
4d8b695bb0
@ -4,10 +4,6 @@ description: 'build docker image and push to simcu code'
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- uses: docker://mcr.microsoft.com/dotnet/sdk:7.0
|
|
||||||
with:
|
|
||||||
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
|
|
||||||
|
|
||||||
- uses: docker://ubuntu:latest
|
- uses: docker://ubuntu:latest
|
||||||
with:
|
with:
|
||||||
entrypoint: "/bin/bash"
|
entrypoint: "/bin/bash"
|
||||||
@ -18,6 +14,10 @@ runs:
|
|||||||
-c 'echo "ENTRYPOINT [\"./App\"]" >> Dockerfile'
|
-c 'echo "ENTRYPOINT [\"./App\"]" >> Dockerfile'
|
||||||
-c "echo 已经构建完DOCKERFILE了"
|
-c "echo 已经构建完DOCKERFILE了"
|
||||||
|
|
||||||
|
- uses: docker://mcr.microsoft.com/dotnet/sdk:7.0
|
||||||
|
with:
|
||||||
|
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
|
||||||
|
|
||||||
- uses: docker://docker:git
|
- uses: docker://docker:git
|
||||||
with:
|
with:
|
||||||
entrypoint: "/bin/sh"
|
entrypoint: "/bin/sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user