add ci
This commit is contained in:
parent
14097e0ab1
commit
3735bea308
14
action.yml
14
action.yml
@ -14,12 +14,14 @@ runs:
|
|||||||
username: ${{env.DOCKER_USER}}
|
username: ${{env.DOCKER_USER}}
|
||||||
password: ${{env.DOCKER_PASS}}
|
password: ${{env.DOCKER_PASS}}
|
||||||
|
|
||||||
- shell: sh
|
- uses: docker://ubuntu
|
||||||
run: |
|
with:
|
||||||
echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
|
entrypoint: "bash -c"
|
||||||
echo "COPY dist /home" >> Dockerfile
|
args: |
|
||||||
echo "WORKDIR /home" >> Dockerfile
|
echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
|
||||||
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
|
echo "COPY dist /home" >> Dockerfile
|
||||||
|
echo "WORKDIR /home" >> Dockerfile
|
||||||
|
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
|
||||||
|
|
||||||
- uses: docker://docker:cli
|
- uses: docker://docker:cli
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user