fix: allow backend/frontend Docker builds when main version exists (#12854)

Backend and frontend images (langflowai/langflow-backend and
langflowai/langflow-frontend) are separate from the main image
(langflowai/langflow), so they should not be skipped when the
main version already exists on Docker Hub.

This fixes the issue where backend/frontend builds for 1.9.0
were skipped because the main 1.9.0 image was already published,
preventing these critical images from being available on Docker Hub.

Fixes: Backend and frontend Docker images not published in 1.9.0 release
This commit is contained in:
vjgit96
2026-04-23 14:59:53 -04:00
committed by GitHub
parent 6453d66de6
commit 595587027d

View File

@ -137,7 +137,8 @@ jobs:
echo "Latest main release version: $last_released_version"
fi
if [ "$version" = "$last_released_version" ]; then
# Skip check only applies to main image, not backend/frontend which are separate images
if [ "$version" = "$last_released_version" ] && [[ "${{ inputs.release_type }}" != "main-backend" ]] && [[ "${{ inputs.release_type }}" != "main-frontend" ]]; then
echo "Main docker version $version is already released. Skipping release."
echo skipped=true >> $GITHUB_OUTPUT
exit 0