From 595587027d074e376d7b4e66d607f038031528c9 Mon Sep 17 00:00:00 2001 From: vjgit96 Date: Thu, 23 Apr 2026 14:59:53 -0400 Subject: [PATCH] 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 --- .github/workflows/docker-build-v2.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-v2.yml b/.github/workflows/docker-build-v2.yml index 88dfa76055..86f74f4a7a 100644 --- a/.github/workflows/docker-build-v2.yml +++ b/.github/workflows/docker-build-v2.yml @@ -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