From 7b0657df43e0de83269eb6bbcc4d0a8a1db41b08 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 16:21:57 +0200 Subject: [PATCH] ci: build and publish the CPU container image The container job published the CUDA, Vulkan, MUSA and SYCL images but never the CPU one, although docker/Dockerfile exists and the Docker guide starts from it. Add a cpu variant, published as master-cpu next to the others. Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5487008..7c849e5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -194,7 +194,7 @@ jobs: strategy: matrix: - variant: [musa, sycl, vulkan, cuda] + variant: [cpu, musa, sycl, vulkan, cuda] platform: [linux/amd64] runner: [ubuntu-latest] build-args: [""] @@ -269,7 +269,7 @@ jobs: context: . platforms: ${{ matrix.platform }} push: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} - file: docker/Dockerfile.${{ matrix.variant }} + file: ${{ matrix.variant == 'cpu' && 'docker/Dockerfile' || format('docker/Dockerfile.{0}', matrix.variant) }} tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ matrix.variant }}${{ matrix.tag-suffix }} labels: ${{ steps.meta.outputs.labels }} annotations: ${{ steps.meta.outputs.annotations }}