updates docker-build action

This commit is contained in:
Jannik Streidl 2024-03-22 10:05:20 +01:00
parent 3f973fe77f
commit c08631d6ff

View file

@ -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