Update .gitea/workflows/build-deploy.yaml
Some checks failed
CI/CD Pipeline / pipeline-execution (push) Failing after 14s

This commit is contained in:
lory 2026-09-04 15:31:55 +00:00
parent 8ad49b0d41
commit 920386e18c

View File

@ -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