Skip to content

Commit

Permalink
feat(workflow) add GA Workflow for SuperNode Docker image
Browse files Browse the repository at this point in the history
- Adds a new GitHub Action Workflow for building SuperNode Docker images.
- Removes the old Client image Workflow.

Signed-off-by: Robert Steiner <robert@flower.ai>
  • Loading branch information
Robert-Steiner committed Apr 18, 2024
1 parent f8d5c6d commit 28127ea
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Build docker client image
name: Build docker SuperNode image

on:
workflow_dispatch:
inputs:
flwr-version:
description: "Version of Flower"
description: "Version of Flower."
required: true
type: string

permissions:
contents: read

jobs:
build-client-images:
name: Build client images
build-supernode-images:
name: Build images
uses: ./.github/workflows/_docker-build.yml
# run only on default branch when using it with workflow_dispatch
if: github.ref_name == github.event.repository.default_branch
Expand All @@ -22,15 +22,14 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
with:
namespace-repository: flwr/client
file-dir: src/docker/client
namespace-repository: flwr/supernode
file-dir: src/docker/supernode
build-args: |
FLWR_VERSION=${{ github.event.inputs.flwr-version }}
BASE_IMAGE_TAG=py${{ matrix.python-version }}-ubuntu22.04
tags: |
${{ github.event.inputs.flwr-version }}-py${{ matrix.python-version }}-ubuntu22.04
${{ github.event.inputs.flwr-version }}
latest
secrets:
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 28127ea

Please sign in to comment.