From 6f67e7b96ec3cab622a2721ca52f3d7a577f3482 Mon Sep 17 00:00:00 2001 From: Robert Steiner Date: Mon, 11 Dec 2023 16:31:24 +0100 Subject: [PATCH] Add base image for other python versions (#2700) --- .github/workflows/docker-base.yml | 9 +++++++-- .github/workflows/docker-server.yml | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-base.yml b/.github/workflows/docker-base.yml index a3895632d184..7b23340ec7d2 100644 --- a/.github/workflows/docker-base.yml +++ b/.github/workflows/docker-base.yml @@ -3,7 +3,12 @@ name: Build docker base image on: push: branches: ["main"] - paths: ["src/docker/base/**"] + paths: + - "src/docker/base/**" + - ".github/workflows/docker-base.yml" + # re-run if something chnages in the bootstrap action (e.g. version of the dependencies) + - ".github/actions/bootstrap/action.yml" + - ".github/workflows/_docker-build.yml" permissions: contents: read @@ -40,7 +45,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: [3.11] + python-version: [3.8, 3.9, 3.10, 3.11] with: namespace-repository: flwr/base file-dir: src/docker/base diff --git a/.github/workflows/docker-server.yml b/.github/workflows/docker-server.yml index 325612be2573..093f148c4c34 100644 --- a/.github/workflows/docker-server.yml +++ b/.github/workflows/docker-server.yml @@ -35,7 +35,7 @@ jobs: dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} summary: - name: Summary + name: Build images runs-on: ubuntu-22.04 needs: build-server-images timeout-minutes: 10