diff --git a/action.yml b/action.yml index 5943f66..359dece 100644 --- a/action.yml +++ b/action.yml @@ -10,8 +10,8 @@ inputs: runs: using: 'composite' steps: - - uses: docker://bitnami/kubectl:latest - with: - entrypoint: "/bin/bash" - 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 }}" \ No newline at end of file + - uses: docker://bitnami/kubectl:latest + with: + entrypoint: "/bin/bash" + args: | + -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 }}"