From b0d670af5fd2e3d443c25a3078fb689c2899d18e Mon Sep 17 00:00:00 2001 From: Evgeniy Abramov Date: Wed, 19 Jul 2023 17:50:27 +0400 Subject: [PATCH] fix(docker): change get tag logic on ci build --- .github/workflows/docker-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-push.yml b/.github/workflows/docker-push.yml index 0795eab9..fb844312 100644 --- a/.github/workflows/docker-push.yml +++ b/.github/workflows/docker-push.yml @@ -21,7 +21,7 @@ jobs: name: Get Github tag id: meta run: | - echo "::set-output name=tag::$(git describe --always --tags --match='v*')" + echo "::set-output name=tag::$(git describe --always --tags --match='v*' | awk -F- '{print $1}')" - name: Set up QEMU uses: docker/setup-qemu-action@v2