From 8c2ec5e21d580c99e257c3cfddcf21fa53229aa4 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 26 Mar 2023 10:48:42 -0400 Subject: [PATCH] Add support for linux/arm64 platform during Docker Builds (#514) * Add support for linux/arm64 platform * Add platform to versioned builds --- .github/workflows/docker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d1a43caa6..f70821de2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -49,6 +49,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: "ghcr.io/ggerganov/llama.cpp:${{ matrix.config.tag }}-${{ env.COMMIT_SHA }}" file: ${{ matrix.config.dockerfile }} @@ -57,5 +58,6 @@ jobs: with: context: . push: ${{ github.event_name == 'push' }} + platforms: linux/amd64,linux/arm64 tags: "ghcr.io/ggerganov/llama.cpp:${{ matrix.config.tag }}" file: ${{ matrix.config.dockerfile }} \ No newline at end of file