Skip to content

Commit 444ea08

Browse files
authored
Merge pull request #3 from codeanker/copilot/update-docker-publish-target
Trim Docker workflow to only build server-cuda12 and server-cuda13 images
2 parents 7e3085b + 0cd746e commit 444ea08

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/docker.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626

2727
jobs:
2828
push_to_registry:
29-
name: Push Docker image to Docker Hub
29+
name: Push Docker image to GitHub Container Registry
3030

3131
runs-on: ${{ matrix.config.runs_on }}
3232
env:
@@ -35,18 +35,8 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
config:
38-
# Multi-stage build
39-
# Note: the arm64 images are failing, which prevents the amd64 images from being built
40-
# https://github.com/ggml-org/llama.cpp/issues/11888
41-
#- { tag: "cpu", dockerfile: ".devops/cpu.Dockerfile", platforms: "linux/amd64,linux/arm64", full: true, light: true, server: true, free_disk_space: false }
42-
- { tag: "cpu", dockerfile: ".devops/cpu.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: false, runs_on: "ubuntu-22.04" }
43-
- { tag: "cuda cuda12", dockerfile: ".devops/cuda.Dockerfile", platforms: "linux/amd64,linux/arm64", full: true, light: true, server: true, free_disk_space: true, runs_on: "ubuntu-22.04", cuda_version: "12.4.0", ubuntu_version: "22.04" }
44-
- { tag: "cuda13", dockerfile: ".devops/cuda-new.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: true, runs_on: "ubuntu-22.04", cuda_version: "13.1.0", ubuntu_version: "24.04" }
45-
- { tag: "musa", dockerfile: ".devops/musa.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: true, runs_on: "ubuntu-22.04" }
46-
- { tag: "intel", dockerfile: ".devops/intel.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: true, runs_on: "ubuntu-22.04" }
47-
- { tag: "vulkan", dockerfile: ".devops/vulkan.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: false, runs_on: "ubuntu-22.04" }
48-
- { tag: "s390x", dockerfile: ".devops/s390x.Dockerfile", platforms: "linux/s390x", full: true, light: true, server: true, free_disk_space: false, runs_on: "ubuntu-22.04-s390x" }
49-
- { tag: "rocm", dockerfile: ".devops/rocm.Dockerfile", platforms: "linux/amd64", full: true, light: true, server: true, free_disk_space: true, runs_on: "ubuntu-22.04" }
38+
- { tag: "cuda cuda12", dockerfile: ".devops/cuda.Dockerfile", platforms: "linux/amd64,linux/arm64", full: false, light: false, server: true, free_disk_space: true, runs_on: "ubuntu-22.04", cuda_version: "12.4.0", ubuntu_version: "22.04" }
39+
- { tag: "cuda13", dockerfile: ".devops/cuda-new.Dockerfile", platforms: "linux/amd64", full: false, light: false, server: true, free_disk_space: true, runs_on: "ubuntu-22.04", cuda_version: "13.1.0", ubuntu_version: "24.04" }
5040
steps:
5141
- name: Check out the repo
5242
uses: actions/checkout@v6
@@ -62,7 +52,7 @@ jobs:
6252
- name: Set up Docker Buildx
6353
uses: docker/setup-buildx-action@v3
6454

65-
- name: Log in to Docker Hub
55+
- name: Log in to GitHub Container Registry
6656
uses: docker/login-action@v3
6757
with:
6858
registry: ghcr.io

0 commit comments

Comments
 (0)