diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index b19f735d..330991c9 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -44,11 +44,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 }}