diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 02ad62ef8..e50eaa7c4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -47,7 +47,7 @@ jobs: - name: Set image tag run: | echo "IMAGE_TAG_SUFFIX=_$(echo '${{ github.ref_name }}' | tr / -)_ci" >> $GITHUB_ENV - if: github.ref_name == 'tagging' + if: github.ref_name != github.event.repository.default_branch - uses: docker/build-push-action@v5 name: Build and push