Skip to content

Commit 5955870

Browse files
authored
fix: allow backend/frontend Docker builds when main version exists (langflow-ai#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
1 parent 6453d66 commit 5955870

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/docker-build-v2.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ jobs:
137137
echo "Latest main release version: $last_released_version"
138138
fi
139139
140-
if [ "$version" = "$last_released_version" ]; then
140+
# Skip check only applies to main image, not backend/frontend which are separate images
141+
if [ "$version" = "$last_released_version" ] && [[ "${{ inputs.release_type }}" != "main-backend" ]] && [[ "${{ inputs.release_type }}" != "main-frontend" ]]; then
141142
echo "Main docker version $version is already released. Skipping release."
142143
echo skipped=true >> $GITHUB_OUTPUT
143144
exit 0

0 commit comments

Comments
 (0)