CI Login to dockerhub

This commit is contained in:
Guillaume LEGENDRE 2024-06-18 16:21:17 +02:00 committed by GitHub
parent 11ea9ce002
commit 9ce3f046b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ jobs:
uses: docker/setup-buildx-action@v2.0.0
with:
install: true
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2