From f9a8561f7949feff3a25e8e3c4e91dc5987cec72 Mon Sep 17 00:00:00 2001 From: Jorenn92 Date: Sun, 7 Jan 2024 19:58:29 +0100 Subject: [PATCH] ci: Also push develop build to docker hub --- .github/workflows/build_release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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 }}