diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index c17204e..2f2bb89 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -4,6 +4,8 @@ on: push: branches: - "**" + tags: + - "**" env: DOCKER_ENV_FILE: ".github/workflows/docker.env" @@ -63,7 +65,8 @@ jobs: run: docker rm builder publish: - if: github.event_name == 'tag' || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev')) + if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev')) + needs: - build-test runs-on: ubuntu-latest