diff --git a/.github/actions/docker-build-and-push/action.yml b/.github/actions/docker-build-and-push/action.yml index ec923e03..be358ece 100644 --- a/.github/actions/docker-build-and-push/action.yml +++ b/.github/actions/docker-build-and-push/action.yml @@ -36,7 +36,7 @@ runs: - name: Build image run: | - if [[ ${{ inputs.prerelease }} ]]; then + if [[ ${{ inputs.prerelease }} == "true" ]]; then LATEST_TAG="" else LATEST_TAG="-t ${{ inputs.registry }}/${{ inputs.image-name }}:latest"