push to harbor

main
stef 2025-12-12 17:09:09 +01:00
parent 3fa52cfbb4
commit 66cd2dd4fe
1 changed files with 3 additions and 3 deletions

View File

@ -31,15 +31,15 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: harbor.bv.stef.lan registry: harbor.bv.stef.lan
username: stef username: ${{ secret.HARBOR_USERNAME }}
password: Reponse42! password: ${{ secret.HARBOR_PASSWORD }}
- 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: harbor.bv.stef.lan/library/pki-manager:v0.1 tags: harbor.bv.stef.lan/library/pki-manager:${{gitea.sha}}
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