From 3b6f9835345466f60ff0f5498cbc0accfaa873af Mon Sep 17 00:00:00 2001 From: lory Date: Fri, 4 Sep 2026 15:37:24 +0000 Subject: [PATCH] Update .gitea/workflows/build-deploy.yaml --- .gitea/workflows/build-deploy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index 285aab3..9c762a5 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -18,6 +18,11 @@ jobs: run: | docker buildx build --push -t registry-service.container-registry.svc.cluster.local:5000/apps/microservice-sample:latest . + - name: Installer Kubectl + run: | + curl -sLO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" + sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl + - name: Déployer sur Kubernetes run: | kubectl apply -f k8s-deployment.yaml