This commit is contained in:
xRain 2024-12-27 05:45:46 +08:00
parent b47d66fc20
commit 80bcdad7ac

View File

@ -17,4 +17,4 @@ runs:
with: with:
entrypoint: "/bin/sh" entrypoint: "/bin/sh"
args: | args: |
-c 'docker login ${{vars.DOCKER_REGISTRY}} -u ${{vars.DOCKER_USER}} -p ${{vars.DOCKER_PASS}} && docker service update {{inputs.service}} -d --with-registry-auth --image ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}' -c 'docker login ${{vars.DOCKER_REGISTRY}} -u ${{vars.DOCKER_USER}} -p ${{vars.DOCKER_PASS}} && docker service update ${{inputs.service}} -d --with-registry-auth --image ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}'