fix github action image build (#1246)

This commit is contained in:
Jianbo Sun 2023-06-25 11:46:45 +08:00 committed by GitHub
parent 7b61b0207f
commit 1f72f2ac73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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