diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977ed7c8..bec478b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: run: mkdocs build publish-docker-image: - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + if: (github.ref == 'refs/heads/main' && github.event_name != 'release') || startsWith(github.ref, 'refs/tags/') needs: build-and-test runs-on: ubuntu-latest outputs: