ci: update

This commit is contained in:
2026-01-10 16:09:24 +08:00
parent 7c945202ad
commit ad241b6c88

View File

@@ -44,10 +44,10 @@ jobs:
- name: Build Docker image
run: |
cd ${{ gitea.workspace }}
docker build -t 192.168.1.98:8180/k8s-example/k8s-example:${{ gitea.sha }} .
docker build -t localhost:8180/k8s-example/k8s-example:${{ gitea.sha }} .
- name: Push Docker image to local registry
run: |
docker push 192.168.1.98:8180/k8s-example/k8s-example:${{ gitea.sha }}
docker push localhost:8180/k8s-example/k8s-example:${{ gitea.sha }}
- name: Deploy to Kubernetes
run: |
cd ${{ gitea.workspace }}