This commit is contained in:
xRain 2023-08-21 22:55:16 +08:00
parent f895f55715
commit 14097e0ab1

View File

@ -25,6 +25,10 @@ runs:
with:
args: docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} .
- uses: docker://docker:cli
with:
args: docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}}
- uses: docker://docker:cli
with:
args: docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}