fix: add default current version value

This commit is contained in:
Wing-Kam Wong
2022-05-04 19:08:24 +08:00
parent 85b5bd63e8
commit e48b5c65e5

View File

@@ -54,7 +54,7 @@ jobs:
DOCKER_REPOSITORY=nocodb
DOCKER_BUILD_TAG=${{ github.event.inputs.tag || inputs.tag }}
if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; then
if [[ ${{ github.event.inputs.currentVersion || inputs.currentVersion }} != '' ]]; then
if [[ ${{ github.event.inputs.currentVersion || inputs.currentVersion || '' }} != '' ]]; then
DOCKER_BUILD_TAG=${{ github.event.inputs.currentVersion || inputs.currentVersion }}-${{ github.event.inputs.tag || inputs.tag }}
fi
if [[ ${{ inputs.isDaily || 'N' }} == 'Y' ]]; then