chore: update dockerfiles and docker-build workflows to fix releases (#4317)

* bash -x

* bash verbose

* combine bash calls in uv run

* combined python script

* relative dir

* pass args correctly

* pass args correctly

* function name

* fix arg order

* merge base and main

* remove nightly -ep docker image for now

* set up uv in the get-version job in docker-build.yml

* v prefix for version in build job

* use inputs.nightly_tag_main for checkout actions

* mount root project metadata for base build

* fix comment

* continued dockerfile fixes for workspaces setup

* fix path

* ruff check fix
This commit is contained in:
Sebastián Estévez 2024-10-31 07:16:26 -04:00 • committed by GitHub
commit c1097d2dde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 93 additions and 31 deletions

View file

@ -222,16 +222,13 @@ jobs:
nightly_tag_main: ${{ 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' }}
needs: [release-nightly-main]
uses: ./.github/workflows/docker-build.yml
with:
release_type: main-ep
nightly_tag_main: ${{ inputs.nightly_tag_main }}
secrets: inherit
# Not currently supported, let's add it later
# 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]
# uses: ./.github/workflows/docker-build.yml
# with:
# release_type: main-ep
# nightly_tag_main: ${{ inputs.nightly_tag_main }}
# secrets: inherit