diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0954c0325..ee87a135e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -20,7 +20,7 @@ env: jobs: build: - if: ${{ ! startsWith(github.event.head_commit.message, 'chore(main):\ release') }} + if: ${{ ! startsWith(github.event.head_commit.message, 'chore(main): release') || github.event.workflow != 'build' }} permissions: contents: write strategy: