From 6e408a82d0106502263547cb415b1ae4668cf86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rok=20Ro=C5=A1kar?= Date: Thu, 21 Nov 2024 09:51:02 +0100 Subject: [PATCH] chore: enable python 3.11 on multi-arch build (#469) --- .github/workflows/build-and-push-to-docker.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-push-to-docker.yml b/.github/workflows/build-and-push-to-docker.yml index ac4820a1..9c6c8ce0 100644 --- a/.github/workflows/build-and-push-to-docker.yml +++ b/.github/workflows/build-and-push-to-docker.yml @@ -193,10 +193,15 @@ jobs: strategy: fail-fast: true matrix: - BASE_PYTHON_VERSION: - - "3.10" - - "3.9" - - "3.8" + include: + - BASE_PYTHON_VERSION: "3.11" + REGISTRY: quay.io + - BASE_PYTHON_VERSION: "3.10" + REGISTRY: docker.io + - BASE_PYTHON_VERSION: "3.9" + REGISTRY: docker.io + - BASE_PYTHON_VERSION: "3.8" + REGISTRY: docker.io steps: - name: Docker Login uses: docker/login-action@v3 @@ -227,7 +232,7 @@ jobs: cache-to: type=gha,mode=max cache-from: type=gha build-args: | - BASE_IMAGE=jupyter/base-notebook:python-${{ matrix.BASE_PYTHON_VERSION }} + BASE_IMAGE=${{ matrix.REGISTRY }}/jupyter/base-notebook:python-${{ matrix.BASE_PYTHON_VERSION }} platforms: linux/amd64,linux/arm64 provenance: false