From 2cc689b3d423154fe0d835824a2817b75757e2cf Mon Sep 17 00:00:00 2001 From: stef Date: Fri, 12 Dec 2025 15:51:40 +0100 Subject: [PATCH] Ajout Workflow --- .gitea/workflows/build.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a7871e2..21df65f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -16,9 +16,22 @@ jobs: - name: Build and push image uses: docker/build-push-action@v6 with: - config-inline: | - debug = true - [registries."gitea.bv.stef.lan"] - ca=["/certs/zen-ca.pem"] + contex: . push: true - tags: gitea.bv.stef.lan/pki-manager:v01 + tags: gitea.bv.stef.lan/stef/pki-manager:${{ github.sha }} + builder: ${{ steps.buildx.outputs.name }} + build-args: | + BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 + # Configuration des registries avec certificat CA + config-inline: | + debug = true + [registry."gitea.bv.stef.lan"] + mirrors = ["gitea.bv.stef.lan"] + insecure = false + [[registry."gitea.bv.stef.lan".tls]] + ca = ["/usr/local/share/ca-certificates/custom-ca/zen-ca.crt"] + [registry."https://gitea.bv.stef.lan"] + mirrors = ["gitea.bv.stef.lan"] + insecure = false + [[registry."https://gitea.bv.stef.lan".tls]] + ca = [""/usr/local/share/ca-certificates/custom-ca/zen-ca.crt]