From 1489c2fbc600be773f133537a6fb429ae8baf7f6 Mon Sep 17 00:00:00 2001 From: digorgonzola <29941279+digorgonzola@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:26:59 +1100 Subject: [PATCH] deploy-development.yml: update tag name logic remove forward slashes and underscores --- .github/workflows/deploy-development.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-development.yml b/.github/workflows/deploy-development.yml index cd42e34..f09e765 100644 --- a/.github/workflows/deploy-development.yml +++ b/.github/workflows/deploy-development.yml @@ -37,7 +37,7 @@ jobs: id: set_image_tag run: | branch_name=${{ github.head_ref || github.ref_name }} - tag=${{ env.TAG_PREFIX}}-${branch_name//\//-} + tag="$(echo ${{ env.TAG_PREFIX}}-$branch_name | sed -e 's/\//-/g;s/_/-/g')" echo "$tag" echo "image_tag=$tag" >> $GITHUB_OUTPUT env: