5858 git tag ${{ steps.srctag.outputs.name }} || exit 0
5959 git push origin ${{ steps.srctag.outputs.name }} || exit 0
6060
61+ build_ui :
62+ name : Build UI
63+ needs : create_tag
64+ uses : ./.github/workflows/ui-build.yml
65+ with :
66+ hf_ui_version : ${{ needs.create_tag.outputs.source_tag }}
67+
6168 prepare_matrices :
6269 name : Prepare Docker matrices
6370 runs-on : ubuntu-24.04
7986 [
8087 { "tag": "cpu", "dockerfile": ".devops/cpu.Dockerfile", "platforms": "linux/amd64", "full": true, "light": true, "server": true, "free_disk_space": false, "runs_on": "ubuntu-24.04" },
8188 { "tag": "cpu", "dockerfile": ".devops/cpu.Dockerfile", "platforms": "linux/arm64", "full": true, "light": true, "server": true, "free_disk_space": false, "runs_on": "ubuntu-24.04-arm" },
82- { "tag": "cpu", "dockerfile": ".devops/s390x.Dockerfile", "platforms": "linux/s390x", "full": true, "light": true, "server": true, "free_disk_space": false, "runs_on": "ubuntu-24.04-s390x" },
89+ { "tag": "cpu", "dockerfile": ".devops/s390x.Dockerfile", "platforms": "linux/s390x", "full": true, "light": true, "server": true, "free_disk_space": false, "runs_on": "ubuntu-24.04-s390x", "prebuilt_ui": true },
8390 { "tag": "cuda cuda12", "dockerfile": ".devops/cuda.Dockerfile", "cuda_version": "12.8.1", "platforms": "linux/amd64", "full": true, "light": true, "server": true, "free_disk_space": true, "runs_on": "ubuntu-24.04" },
8491 { "tag": "cuda cuda12", "dockerfile": ".devops/cuda.Dockerfile", "cuda_version": "12.8.1", "platforms": "linux/arm64", "full": true, "light": true, "server": true, "free_disk_space": true, "runs_on": "ubuntu-24.04-arm" },
8592 { "tag": "cuda13", "dockerfile": ".devops/cuda.Dockerfile", "cuda_version": "13.3.0", "platforms": "linux/amd64", "full": true, "light": true, "server": true, "free_disk_space": true, "runs_on": "ubuntu-24.04" },
@@ -135,7 +142,7 @@ jobs:
135142
136143 push_to_registry :
137144 name : Push Docker image to Docker Registry
138- needs : [prepare_matrices, create_tag]
145+ needs : [prepare_matrices, create_tag, build_ui ]
139146
140147 runs-on : ${{ matrix.config.runs_on }}
141148 strategy :
@@ -150,6 +157,13 @@ jobs:
150157 fetch-depth : 0
151158 ref : ${{ needs.create_tag.outputs.source_tag }}
152159
160+ - name : Download prebuilt UI
161+ if : ${{ matrix.config.prebuilt_ui == true }}
162+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
163+ with :
164+ name : ui-build
165+ path : tools/ui/dist
166+
153167 - name : Set up QEMU
154168 if : ${{ contains(matrix.config.platforms, 'linux/amd64') }}
155169 uses : docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
0 commit comments