ci: Update Docker build workflow dependencies for releases (#6129)

fix: Update Docker build workflow dependencies in release configurations

Modify release workflows to ensure correct dependency order for Docker builds:
- In release_nightly.yml, add dependencies for Docker build jobs
- In release.yml, reorder Docker build job dependencies to ensure proper build sequence
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-05-29 16:08:22 -03:00 committed by GitHub
commit 3d2f847f5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 3 deletions

View file

@ -200,10 +200,21 @@ jobs:
pre_release: ${{ inputs.pre_release }}
secrets: inherit
call_docker_build_main_ep:
name: Call Docker Build Workflow for Langflow with Entrypoint
if: inputs.build_docker_ep == true
needs: [release-main, call_docker_build_base]
uses: ./.github/workflows/docker-build.yml
with:
main_version: ${{ needs.release-main.outputs.version }}
release_type: main-ep
pre_release: False
secrets: inherit
call_docker_build_main:
name: Call Docker Build Workflow for Langflow
if: inputs.build_docker_main == true
needs: [release-main]
needs: [release-main, call_docker_build_main_ep]
uses: ./.github/workflows/docker-build.yml
with:
main_version: ${{ needs.release-main.outputs.version }}

View file

@ -218,7 +218,7 @@ jobs:
call_docker_build_main:
name: Call Docker Build Workflow for Langflow
if: always() && ${{ inputs.build_docker_main == 'true' }}
needs: [release-nightly-main]
needs: [release-nightly-main, call_docker_build_base]
uses: ./.github/workflows/docker-build.yml
with:
release_type: nightly-main
@ -238,7 +238,7 @@ jobs:
call_docker_build_main_ep:
name: Call Docker Build Workflow for Langflow with Entrypoint
if: always() && ${{ inputs.build_docker_ep == 'true' }}
needs: [release-nightly-main]
needs: [release-nightly-main, call_docker_build_main]
uses: ./.github/workflows/docker-build.yml
with:
release_type: main-ep