Skip to content

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Feb 27, 2024
1 parent 2509151 commit 2fae223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/determine-docker-image-tag/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runs:
elif [[ "$GITHUB_REF" =~ ^refs/heads/release/v([0-9]+)\.([0-9]+)$ ]]; then
# The following is the priority of tags:
# release-vx.x tag (release branch build tag) -> commit hash tag
release_branch_tag="release-$(echo $GITHUB_REF | sed -e 's:^refs/heads/release/::')" # e.g) release-v1.7
release_branch_tag="$(echo $GITHUB_REF | sed -e 's:^refs/heads/release/:release-:')" # e.g) release-v1.7
tags="${release_branch_tag}"
commit_hash_tag=${GITHUB_SHA::8}
Expand Down

0 comments on commit 2fae223

Please sign in to comment.