diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index ad3ae713..d79edcc4 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -3,7 +3,7 @@ name: Build Release on: push: tags: - - "v*.*.*" + - "[0-9]+.[0-9]+.[0-9]+" jobs: build-release: @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set Env Tags - run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + run: echo RELEASE_TAG=$(echo $GITHUB_REF | cut -d '/' -f 3) >> $GITHUB_ENV - name: Build Image id: build-image