This commit is contained in:
xRain 2023-08-22 00:27:20 +08:00
parent 50087853b8
commit 80dfeb3387

View File

@ -22,15 +22,6 @@ runs:
echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
ls
cat Dockerfile
- shell: sh
run: |
docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} .
- shell: sh
run: |
docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}}
- shell: sh
run: |
docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}