Ajout Workflow

main
stef 2025-12-12 15:51:40 +01:00
parent 34277bde3b
commit 2cc689b3d4
1 changed files with 18 additions and 5 deletions

View File

@ -16,9 +16,22 @@ jobs:
- name: Build and push image - name: Build and push image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
config-inline: | contex: .
debug = true
[registries."gitea.bv.stef.lan"]
ca=["/certs/zen-ca.pem"]
push: true 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]