Skip to content

Commit

Permalink
fix github action image build (#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderflow committed Jun 25, 2023
1 parent 7b61b02 commit 1f72f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Get the version
id: get_version
run: |
VERSION=${GITHUB_REF#refs/heads/}
VERSION=${GITHUB_REF#refs/tags/}
if [[ ${GITHUB_REF} == "refs/heads/main" ]]; then
VERSION=latest
fi
Expand Down

0 comments on commit 1f72f2a

Please sign in to comment.