fix: docker build-main-all (#8182)

* use-with-extras-dockerfile

* naming

* independent-build-job

* build-when-main-is-built

* Apply suggestions from code review

* remove-build-all-flag
This commit is contained in:
Mendon Kissling 2025-05-27 12:21:59 -04:00 committed by GitHub
commit 3f8f7f28c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -175,7 +175,7 @@ jobs:
# LANGFLOW-MAIN (ALL OPTIONAL DEPS) RELEASE
echo "docker_tags=langflowai/langflow-all${nightly_suffix}:${{ needs.get-version.outputs.version }},langflowai/langflow-all${nightly_suffix}:latest" >> $GITHUB_OUTPUT
echo "ghcr_tags=ghcr.io/langflow-ai/langflow-all${nightly_suffix}:${{ needs.get-version.outputs.version }},ghcr.io/langflow-ai/langflow-all${nightly_suffix}:latest" >> $GITHUB_OUTPUT
echo "file=./docker/build_and_push.Dockerfile" >> $GITHUB_OUTPUT
echo "file=./docker/build_and_push_with_extras.Dockerfile" >> $GITHUB_OUTPUT
else
echo "Invalid release type. Exiting the workflow."
exit 1

View file

@ -212,7 +212,7 @@ jobs:
secrets: inherit
call_docker_build_main_all:
name: Call Docker Build Workflow for Langflow
name: Call Docker Build Workflow for langflow-all
if: inputs.build_docker_main == true
needs: [release-main]
uses: ./.github/workflows/docker-build.yml

View file

@ -226,7 +226,7 @@ jobs:
secrets: inherit
call_docker_build_main_all:
name: Call Docker Build Workflow for Langflow
name: Call Docker Build Workflow for langflow-all
if: always() && ${{ inputs.build_docker_main == 'true' }}
needs: [release-nightly-main]
uses: ./.github/workflows/docker-build.yml
@ -235,7 +235,6 @@ jobs:
main_version: ${{ inputs.nightly_tag_main }}
secrets: inherit
call_docker_build_main_ep:
name: Call Docker Build Workflow for Langflow with Entrypoint
if: always() && ${{ inputs.build_docker_ep == 'true' }}