From 06cfe21affe8f4fefc6bbbd2529488ccf6ccdb2e Mon Sep 17 00:00:00 2001 From: xRain Date: Wed, 19 Jun 2024 04:55:54 +0800 Subject: [PATCH] fix wxyy --- action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}"