Skip to content

Commit

Permalink
enable workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Steiner committed Dec 5, 2023
1 parent 4bc45b2 commit e27c7cb
Showing 1 changed file with 27 additions and 31 deletions.
58 changes: 27 additions & 31 deletions .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit e27c7cb

Please sign in to comment.