远程k3s可以连接,测试apply指令-修改参数格式3
Some checks failed
Build Push and Deploy Image / build (push) Failing after 24s

This commit is contained in:
bamanker
2025-12-25 15:37:56 +08:00
parent 89f4565cd7
commit 9dd0d38cf8
2 changed files with 83 additions and 4 deletions

View File

@@ -75,11 +75,11 @@ jobs:
- name: k8s Check and Apply New Deployment
uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
uses: http://139.9.216.111:3000/bamanker/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
config: ${{ secrets.KUBE_CONFIG }}
command: ls
# command: apply -f http://${{ secrets.DEVOPS_GITEA_TOKEN }}@139.9.216.111:3000/bamanker/myk3sTest/src/branch/master/.deploy/deployment.yml
command: apply -f deployment.yml
# - name: k8s Update Deployment
# uses: http://139.9.216.111:3000/bamanker/kubectl@master
# env: