This commit is contained in:
xRain 2024-06-19 04:55:54 +08:00
parent 0f2b7b97bf
commit 06cfe21aff

View File

@ -14,4 +14,4 @@ runs:
with: with:
entrypoint: "/bin/bash" entrypoint: "/bin/bash"
args: | args: |
-c "kubectl -s ${{env.ALIYUN_K8S_URL}} --token ${{env.ALIYUN_K8S_TOKEN}} -n ${{inputs.namespace}} set image deployment/${{inputs.deployment}} container-0=${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}" -c "kubectl -s ${{vars.SIMCU_K8S_URL}} --token ${{vars.SIMCU_K8S_TOKEN}} -n ${{inputs.namespace}} set image deployment/${{inputs.deployment}} container-0=${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}"