diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 302436ee..8cf9e658 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,9 +4,6 @@ env: IMAGE_NAME: activemq-artemis-broker-kubernetes on: - push: - tags: - - 'v*' workflow_dispatch: inputs: trigger_children: @@ -33,7 +30,7 @@ jobs: run: | git fetch --tags HEAD_COMMIT="$(git rev-parse HEAD)" - RELEASE_TAG="v$(grep -Po -m 1 '(?<=^version: ")[^"]+' image.yaml)" + RELEASE_TAG="$(grep -Po -m 1 '(?<=^version: ")[^"]+' image.yaml)" RELEASE_TAG_COMMIT="$(git rev-list -n 1 ${RELEASE_TAG} || true)" if [ "$RELEASE_TAG_COMMIT" != "$HEAD_COMMIT" ]; then git config user.name 'artemiscloud-bot'