From 920386e18c4fb21bbcc9d7fd678b8f58f85e8ab4 Mon Sep 17 00:00:00 2001 From: lory Date: Fri, 4 Sep 2026 15:31:55 +0000 Subject: [PATCH] Update .gitea/workflows/build-deploy.yaml --- .gitea/workflows/build-deploy.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index eeb6eda..285aab3 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -5,11 +5,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v2 + + - name: Configuration de Buildx pour autoriser le registre local + uses: docker/setup-buildx-action@v2 + with: + config-inline: | + [registry."registry-service.container-registry.svc.cluster.local:5000"] + http = true + insecure = true + - name: Compiler et Envoyer au registre privé run: | - docker build -t registry-service.container-registry.svc.cluster.local:5000/apps/microservice-sample:latest . - docker push registry-service.container-registry.svc.cluster.local:5000/apps/microservice-sample:latest + docker buildx build --push -t registry-service.container-registry.svc.cluster.local:5000/apps/microservice-sample:latest . + - name: Déployer sur Kubernetes run: | kubectl apply -f k8s-deployment.yaml