chore: add login to build job

This commit is contained in:
Matthias 2024-10-31 19:58:45 +01:00
parent e5a507dfa3
commit 894368ec63

View File

@ -48,6 +48,12 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
id: build id: build
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6