Skip to content

Commit

Permalink
deploy-development.yml: update tag name logic
Browse files Browse the repository at this point in the history
remove forward slashes and underscores
  • Loading branch information
digorgonzola committed Dec 19, 2023
1 parent 76d91e7 commit 1489c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1489c2f

Please sign in to comment.