fix: 👷 use default branch to build image
All checks were successful
dl / lint (push) Successful in 50s
dl / docker (push) Successful in 2m18s

This commit is contained in:
Michel Roux 2024-05-20 17:50:00 +02:00
parent 766c3969f7
commit c210b92d44

View File

@ -36,6 +36,6 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: ${{ gitea.ref_name == 'master' || gitea.ref_type == 'tag' }}
push: ${{ gitea.ref_name == gitea.event.repository.default_branch || gitea.ref_type == 'tag' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}