Update .gitea/workflows/build-deploy.yaml
Some checks failed
CI/CD Pipeline / pipeline-execution (push) Failing after 14s
Some checks failed
CI/CD Pipeline / pipeline-execution (push) Failing after 14s
This commit is contained in:
parent
8ad49b0d41
commit
920386e18c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user