diff --git a/.github/workflows/docker-server.yml b/.github/workflows/docker-server.yml index 139352d4e8f1..6f57c6a0691b 100644 --- a/.github/workflows/docker-server.yml +++ b/.github/workflows/docker-server.yml @@ -1,29 +1,28 @@ name: Build docker server image on: - # workflow_dispatch: - # inputs: - # flwr-version: - # description: "Version of Flower e.g. (1.6.0)." - # required: true - # type: string - # python-version: - # description: "Version of Python e.g. (3.11.7 or 3.11). Defaults to the version defined in _docker-server.yaml." - # required: false - # type: string - # pip-version: - # description: "Version of pip. Defaults to the version defined in _docker-server.yaml." - # required: false - # type: string - # setuptools-version: - # description: "Version of setuptools. Defaults to the version defined in _docker-server.yaml." - # required: false - # type: string - # ubuntu-version: - # description: "Version of Ubuntu. Defaults to the version defined in _docker-server.yaml." - # required: false - # type: string - push + workflow_dispatch: + inputs: + flwr-version: + description: "Version of Flower e.g. (1.6.0)." + required: true + type: string + python-version: + description: "Version of Python e.g. (3.11.7 or 3.11). Defaults to the version defined in _docker-server.yaml." + required: false + type: string + pip-version: + description: "Version of pip. Defaults to the version defined in _docker-server.yaml." + required: false + type: string + setuptools-version: + description: "Version of setuptools. Defaults to the version defined in _docker-server.yaml." + required: false + type: string + ubuntu-version: + description: "Version of Ubuntu. Defaults to the version defined in _docker-server.yaml." + required: false + type: string permissions: contents: read @@ -32,14 +31,11 @@ jobs: build-server-images: uses: ./.github/workflows/_docker-server.yml with: - flwr-version: 1.6.0 - pip-version: 23.3.1 - setuptools-version: 68.2.2 - # flwr-version: ${{ github.event.inputs.flwr-version }} - # python-version: ${{ github.event.inputs.python-version }} - # pip-version: ${{ github.event.inputs.pip-version }} - # setuptools-version: ${{ github.event.inputs.setuptools-version }} - # ubuntu-version: ${{ github.event.inputs.ubuntu-version }} + flwr-version: ${{ github.event.inputs.flwr-version }} + python-version: ${{ github.event.inputs.python-version }} + pip-version: ${{ github.event.inputs.pip-version }} + setuptools-version: ${{ github.event.inputs.setuptools-version }} + ubuntu-version: ${{ github.event.inputs.ubuntu-version }} secrets: dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }} dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}