From 419d3e87801517d32fdde7e6064c0ba35e431c3c Mon Sep 17 00:00:00 2001 From: kuwoyuki Date: Fri, 7 Feb 2025 01:30:09 +0600 Subject: [PATCH] chore: zz --- .gitea/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 4764306..1ac1247 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -43,7 +43,10 @@ jobs: - name: Deploy to cluster env: KUBECONFIG: /tmp/kubeconfig.yaml + NAMESPACE: ayaume + APP: ${{ steps.meta.outputs.REPO_NAME }} + IMAGE: ${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:${{ github.sha }} shell: bash run: | echo "${{ secrets.KUBE_CONFIG }}" > $KUBECONFIG - kubectl apply -f manifests/ + kubectl -n $NAMESPACE set image deployment/$APP $APP=$IMAGE