diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index d90d1f9..f88c0d7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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 }}