Skip to content

Commit

Permalink
Merge pull request #722 from jorenn92/fix/ci-docker-hub
Browse files Browse the repository at this point in the history
ci: Also push develop build to docker hub
  • Loading branch information
jorenn92 authored Jan 7, 2024
2 parents 1949768 + f9a8561 commit f3125ab
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit f3125ab

Please sign in to comment.