diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 449277313..fa521252d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -21,7 +21,7 @@ env: jobs: build: - if: ${{ !( github.workflow != 'build' && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }} + if: ${{ !( github.workflow == 'build' && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }} permissions: contents: write strategy: