Skip to content

Commit

Permalink
chore: enable python 3.11 on multi-arch build (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored Nov 21, 2024
1 parent 48563bf commit 6e408a8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-and-push-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6e408a8

Please sign in to comment.