ci: update
This commit is contained in:
@@ -44,10 +44,10 @@ jobs:
|
|||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}
|
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
|
- name: Push Docker image to local registry
|
||||||
run: |
|
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
|
- name: Deploy to Kubernetes
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
|
|||||||
Reference in New Issue
Block a user