main
stef 2025-12-12 16:52:54 +01:00
parent 324e2cdd2c
commit 5cf73cab7a
1 changed files with 6 additions and 5 deletions

View File

@ -18,27 +18,28 @@ jobs:
buildkitd-config-inline: | buildkitd-config-inline: |
# La configuration BuildKit va ici # La configuration BuildKit va ici
debug = true debug = true
[registry."gitea.bv.stef.lan"] [registry."harbor.bv.stef.lan"]
http = false http = false
insecure = true insecure = true
[[registry."gitea.bv.stef.lan".tls]] [[registry."harbor.bv.stef.lan".tls]]
ca = ["/etc/ssl/certs/zen-ca.pem"] ca = ["/etc/ssl/certs/zen-ca.pem"]
cert = [] cert = []
key = [] key = []
- name: Log in to registry - name: Log in to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: gitea.bv.stef.lan registry: barbor.bv.stef.lan
username: stef username: stef
password: stef password: Reponse42!
- name: Build and push image - name: Build and push image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . # UTILISE LE CONTEXTE LOCAL, PAS L'URL GIT context: . # UTILISE LE CONTEXTE LOCAL, PAS L'URL GIT
push: true push: true
tags: gitea.bv.stef.lan/stef/pki-manager:v01 tags harbor.bv.stef.lan/library/pki-manager:v0.1
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
provenance: false # Peut simplifier le débogage initialement provenance: false # Peut simplifier le débogage initialement