This commit is contained in:
xRain 2024-12-27 05:43:57 +08:00
parent 20ad04ccd6
commit b47d66fc20

View File

@ -15,6 +15,6 @@ runs:
env: env:
DOCKER_HOST: ${{ inputs.docker }} DOCKER_HOST: ${{ inputs.docker }}
with: with:
entrypoint: "/bin/bash" 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 }}'