forked from open-webui/open-webui
updates docker-build action
This commit is contained in:
parent
3f973fe77f
commit
c08631d6ff
1 changed files with 9 additions and 0 deletions
9
.github/workflows/docker-build.yaml
vendored
9
.github/workflows/docker-build.yaml
vendored
|
@ -80,3 +80,12 @@ jobs:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:mps
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:mps
|
||||||
build-args: USE_MPS=true
|
build-args: USE_MPS=true
|
||||||
|
|
||||||
|
- name: Build and push Docker image with Ollama
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:with-ollama
|
||||||
|
build-args: INCLUDE_OLLAMA=true
|
||||||
|
|
Loading…
Reference in a new issue