test
This commit is contained in:
parent
0bdc66605a
commit
890943e399
@ -10,8 +10,8 @@ runs:
|
||||
|
||||
- uses: docker://ubuntu:latest
|
||||
with:
|
||||
entrypoint: "/bin/bash"
|
||||
args: |
|
||||
entrypoint: "/bin/bash"
|
||||
args: |
|
||||
-c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile'
|
||||
-c 'echo "COPY dist /home" >> Dockerfile'
|
||||
-c 'echo "WORKDIR /home" >> Dockerfile'
|
||||
@ -21,6 +21,6 @@ runs:
|
||||
with:
|
||||
entrypoint: "/bin/sh"
|
||||
args: |
|
||||
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} .'
|
||||
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}-1 .'
|
||||
-c 'docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}}'
|
||||
-c 'docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}'
|
||||
-c 'docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}-1'
|
Loading…
Reference in New Issue
Block a user