diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17cb345..6e68591 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ name: build on: push: + tags: + - 'v*.*.*' branches: - development @@ -68,7 +70,7 @@ jobs: - name: Extract tag id: extract_tag - run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + run: echo "TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Build and push Docker image uses: docker/build-push-action@v4