From e48b5c65e501b6d94bb09788c1126b8e9df2cec6 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 4 May 2022 19:08:24 +0800 Subject: [PATCH] fix: add default current version value --- .github/workflows/release-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index be2764027d..7e44771019 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -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