fix: simplify kubectl setup, now mounted via runner config
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 8s
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 8s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e9b9a4fd2f
commit
836c8e9c18
@ -67,10 +67,7 @@ jobs:
|
|||||||
docker push ${{ secrets.CR_SERVER }}/${{ env.CR_ORG }}/k8s-pod-monitor:latest 2>&1 | tee -a /tmp/build-monitor.log
|
docker push ${{ secrets.CR_SERVER }}/${{ env.CR_ORG }}/k8s-pod-monitor:latest 2>&1 | tee -a /tmp/build-monitor.log
|
||||||
|
|
||||||
- name: Setup Kubectl
|
- name: Setup Kubectl
|
||||||
run: |
|
run: kubectl version --client
|
||||||
cp /opt/gitea/kubectl-bin /usr/local/bin/kubectl 2>/dev/null || \
|
|
||||||
{ curl -sL "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" -o kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/; }
|
|
||||||
kubectl version --client
|
|
||||||
|
|
||||||
- name: Set kubeconfig
|
- name: Set kubeconfig
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user