From 233ccc40301d2fdb07c6f0fab8638e3f7f3ba605 Mon Sep 17 00:00:00 2001 From: Thomas Meire Date: Mon, 26 Aug 2024 20:21:42 +0200 Subject: [PATCH] Trim v prefix from the docker version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0fe6942..6b475ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: if [[ "${{ github.ref_type }}" == "tag" ]]; then VERSION=${{ github.ref_name }} fi - echo "VERSION=$VERSION" >> "$GITHUB_ENV" + echo "VERSION=${VERSION#v}" >> "$GITHUB_ENV" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3