Skip to content

Commit

Permalink
Merge pull request #211 from oam-dev/fix-release
Browse files Browse the repository at this point in the history
Fix the image tag required by Chart
  • Loading branch information
zzxwill authored Dec 29, 2021
2 parents 54400b2 + b5d7d5e commit 086b42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ jobs:
minor="$(cut -d"$sub" -f2 <<<"$latest_repo_tag")"
patch="0"
current_repo_tag="$major.$minor.$patch"
image_tag=${GITHUB_REF#refs/tags/}
tag=${image_tag#"v"}
tag=${GITHUB_REF#refs/tags/}
image_tag=${image_tag#"v"}
chart_version=$latest_repo_tag
if [[ ${GITHUB_REF} == "refs/heads/master" ]]; then
image_tag=latest
Expand Down

0 comments on commit 086b42f

Please sign in to comment.