fix github action image build (#1246)
This commit is contained in:
parent
7b61b0207f
commit
1f72f2ac73
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue