mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-07-02 17:21:29 +00:00
try to fix build args
This commit is contained in:
parent
2abdcabf02
commit
39c3182a3a
14
.github/workflows/docker-image.yml
vendored
14
.github/workflows/docker-image.yml
vendored
|
@ -16,18 +16,15 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
config:
|
||||
- {tag: "", dockerfile: "./Dockerfile.default", platforms: "linux/amd64,linux/arm64", build_args: [] }
|
||||
- {tag: "", dockerfile: "./Dockerfile.default", platforms: "linux/amd64,linux/arm64", build_args: "" }
|
||||
- {
|
||||
tag: "openblas",
|
||||
dockerfile: "./Dockerfile.default",
|
||||
platforms: "linux/amd64,linux/arm64",
|
||||
build_args: [
|
||||
"EXTRA_DEPS=libopenblas-dev",
|
||||
"CMAKE_ARGS=\"-DGGML_OPENBLAS=On\""
|
||||
]
|
||||
build_args: "EXTRA_DEPS=\"libopenblas-dev\" CMAKE_ARGS=\"-DGGML_OPENBLAS=On\""
|
||||
}
|
||||
- {tag: "-cuda11", dockerfile: "./Dockerfile.cuda11", platforms: "linux/amd64", build_args: [] }
|
||||
- {tag: "-cuda12", dockerfile: "./Dockerfile.cuda12", platforms: "linux/amd64", build_args: [] }
|
||||
- {tag: "-cuda11", dockerfile: "./Dockerfile.cuda11", platforms: "linux/amd64", build_args: "" }
|
||||
- {tag: "-cuda12", dockerfile: "./Dockerfile.cuda12", platforms: "linux/amd64", build_args: "" }
|
||||
|
||||
steps:
|
||||
|
||||
|
@ -54,7 +51,7 @@ jobs:
|
|||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Build and push incremental
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v4.1.1
|
||||
if: (!startsWith(github.ref, 'refs/tags/'))
|
||||
with:
|
||||
file: ${{matrix.config.dockerfile}}
|
||||
|
@ -65,7 +62,6 @@ jobs:
|
|||
build-args: ${{matrix.config.build_args}}
|
||||
|
||||
|
||||
|
||||
- name: Build and push release (Main Latest Build)
|
||||
uses: docker/build-push-action@v4
|
||||
if: startsWith(github.ref, 'refs/tags/') && matrix.config.tag == ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user