push to harbor
parent
3fa52cfbb4
commit
66cd2dd4fe
|
|
@ -31,15 +31,15 @@ jobs:
|
|||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: harbor.bv.stef.lan
|
||||
username: stef
|
||||
password: Reponse42!
|
||||
username: ${{ secret.HARBOR_USERNAME }}
|
||||
password: ${{ secret.HARBOR_PASSWORD }}
|
||||
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: . # UTILISE LE CONTEXTE LOCAL, PAS L'URL GIT
|
||||
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-to: type=gha,mode=max
|
||||
provenance: false # Peut simplifier le débogage initialement
|
||||
|
|
|
|||
Loading…
Reference in New Issue