feat: update Docker workflow to include Harbor login and push configuration
Build Docker Image / Build Docker image (push) Failing after 20s
Details
Build Docker Image / Build Docker image (push) Failing after 20s
Details
This commit is contained in:
parent
0e2e17ce5b
commit
9231800299
|
|
@ -16,12 +16,18 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build Docker image
|
||||
- name: Login to Harbor
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: reg.neurareel.com # Inserisci l'URL del tuo Harbor
|
||||
username: ${{ secrets.HARBOR_USERNAME }} # Assicurati di aver impostato anche questo secret su Gitea
|
||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: false
|
||||
load: true
|
||||
push: true
|
||||
tags: |
|
||||
ach-server-import-media:latest
|
||||
reg.neurareel.com/artchive21/ach-server-import-media:latest
|
||||
reg.neurareel.com/artchive21/ach-server-import-media:${{ github.sha }}
|
||||
Loading…
Reference in New Issue