diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index d085eec8..6bc4d596 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -39,11 +39,20 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Push image + - name: Log in to Docker Hub + if: github.event_name != 'pull_request' + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build & Push image uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} + tags: | + ${{ steps.meta.outputs.tags }} + jorenn92/maintainerr:develop labels: ${{ steps.meta.outputs.labels }}