Browse Source

fix: add default current version value

pull/1972/head
Wing-Kam Wong 3 years ago
parent
commit
e48b5c65e5
  1. 2
      .github/workflows/release-docker.yml

2
.github/workflows/release-docker.yml

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

Loading…
Cancel
Save