From 3e39c959e03db49c39a0a9baf9d687d2fa8f559d Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Fri, 8 Sep 2023 12:42:25 +0200 Subject: [PATCH] let bundle accept version --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6a8ce1d..a22fba7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,6 +25,7 @@ jobs: - name: createVersion run: | echo "VERSION=$(git describe --tag --always)" >> $GITHUB_ENV + echo "CLEAN_VERSION=$(git describe --tag --always | sed s/^v//)" >> $GITHUB_ENV - name: 'Login to GitHub Container Registry' uses: docker/login-action@v2.2.0 @@ -35,4 +36,4 @@ jobs: - name: build and push run: | - make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.VERSION }} \ No newline at end of file + make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.CLEAN_VERSION }} \ No newline at end of file