File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release model-runner images for CE
2+ run-name : Release model-runner images for CE
3+
4+ on :
5+ pull_request :
6+ branches : [ "main" ]
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout repo
13+ uses : actions/checkout@v4
14+
15+ - name : Log in to DockerHub
16+ uses : docker/login-action@v3
17+ with :
18+ username : ${{ vars.DOCKERPUBLICBOT_USERNAME }}
19+ password : ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
20+
21+ - name : Set up Buildx
22+ uses : docker/setup-buildx-action@v3
23+ with :
24+ version : " lab:latest"
25+ driver : cloud
26+ endpoint : " docker/make-product-smarter"
27+ install : true
28+
29+ - name : Build CPU image
30+ uses : docker/build-push-action@v5
31+ with :
32+ file : Dockerfile
33+ platforms : linux/amd64, linux/arm64
34+ push : false
35+ sbom : true
36+ provenance : mode=max
37+ # tags: "docker/model-runner:test-cpu"
38+
39+ - name : Build CUDA image
40+ uses : docker/build-push-action@v5
41+ with :
42+ file : Dockerfile
43+ platforms : linux/amd64, linux/arm64
44+ build-args : |
45+ LLAMA_SERVER_VARIANT=cuda
46+ BASE_IMAGE=nvidia/cuda:12.9.0-cudnn-runtime-ubuntu24.04
47+ push : false
48+ sbom : true
49+ provenance : mode=max
50+ # tags: "docker/model-runner:test-cpu"
You can’t perform that action at this time.
0 commit comments