From 5c9ea0ba876a2c921c6a999ebf383acc9a69bce2 Mon Sep 17 00:00:00 2001 From: Igor Troyanovsky Date: Wed, 29 Sep 2021 17:37:48 +0300 Subject: [PATCH] tag without v Signed-off-by: Igor Troyanovsky --- .github/workflows/build-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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