From daad054551afccfe52ba49bff52d67849c07690a Mon Sep 17 00:00:00 2001 From: julesbertrand Date: Thu, 9 Nov 2023 12:47:24 +0100 Subject: [PATCH] fix: image tag name based on github ref --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d34f80f..52f123a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,7 +26,7 @@ jobs: - name: Set tag name id: tag - run: echo ::set-output name=tag_name::${GITHUB_REF#*\/*\/} + run: echo ::set-output name=tag_name::${GITHUB_REF/\//-} env: GITHUB_REF: ${{ github.ref }}