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: