diff --git a/.github/workflows/build-operator-images.yml b/.github/workflows/build-operator-images.yml index 31f73fc..4c9942b 100644 --- a/.github/workflows/build-operator-images.yml +++ b/.github/workflows/build-operator-images.yml @@ -3,7 +3,7 @@ name: Build and Publish RSCT Operator on: push: tags: - - '[0-9]+.[0-9]+.[0-9]+' + - 'v*.*.*' env: GO_VERSION: "1.22" @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set the release version - run: echo "VERSION=$(echo ${GITHUB_REF/refs\/tags\//})" >> $GITHUB_ENV + run: echo "VERSION=$(echo ${GITHUB_REF/refs\/tags\/v/})" >> $GITHUB_ENV - name: Checkout uses: actions/checkout@v4