forked from open-webui/open-webui
chore: docker build workflow
This commit is contained in:
parent
839efa4443
commit
0a3b99b94a
1 changed files with 2 additions and 0 deletions
2
.github/workflows/docker-build.yaml
vendored
2
.github/workflows/docker-build.yaml
vendored
|
@ -66,6 +66,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push Docker image with CUDA
|
- name: Build and push Docker image with CUDA
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
@ -75,6 +76,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push Docker image with Ollama
|
- name: Build and push Docker image with Ollama
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|
Loading…
Reference in a new issue