Skip to content

Commit

Permalink
fixes actions hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Sep 5, 2024
1 parent 7ce2c4a commit aee4415
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/Program_Build_Upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,12 @@ jobs:
docker image prune -a -f
docker system prune -a -f
- name: Build and push CPU LocalAI Docker image
push_mixed_gpu_to_hub:
name: Push LocalAI GPUs to Docker Hub
needs: push_cpu_to_hub
runs-on: self-hosted
steps:
- name: Build and push GPU LocalAI Docker image
uses: docker/build-push-action@master
with:
context: ./Subsystem-Manager/subsystem_docker_stuff/localai/
Expand All @@ -198,7 +203,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push CPU LocalAI Docker image
- name: Build and push GPU LocalAI Docker image
uses: docker/build-push-action@master
with:
context: ./Subsystem-Manager/subsystem_docker_stuff/localai/
Expand All @@ -217,7 +222,7 @@ jobs:
strategy:
matrix:
gpu_type: [intelf16, intelf32, hipblas, nvidia]
needs: push_cpu_to_hub
needs: push_mixed_gpu_to_hub
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit aee4415

Please sign in to comment.