Skip to content

Commit

Permalink
feat(framework:skip) Move Docker Hub READMEs to flower repository (#4094
Browse files Browse the repository at this point in the history
)

Signed-off-by: Robert Steiner <[email protected]>
Co-authored-by: Taner Topal <[email protected]>
  • Loading branch information
Robert-Steiner and tanertopal authored Aug 29, 2024
1 parent be87014 commit 01d865e
Show file tree
Hide file tree
Showing 7 changed files with 229 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/docker-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Update Docker READMEs

on:
push:
branches:
- 'main'
paths:
- 'src/docker/**/README.md'

jobs:
collect:
if: ${{ github.repository == 'adap/flower' }}
name: Collect Docker READMEs
runs-on: ubuntu-22.04
timeout-minutes: 10
outputs:
readme_files: ${{ steps.filter.outputs.readme_files }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
list-files: "json"
filters: |
readme:
- 'src/docker/**/README.md'
update:
if: ${{ needs.collect.outputs.readme_files != '' && toJson(fromJson(needs.collect.outputs.readme_files)) != '[]' }}
name: Update Docker READMEs
runs-on: ubuntu-22.04
timeout-minutes: 10
needs: collect
strategy:
matrix:
readme_path: ${{ fromJSON(needs.collect.outputs.readme_files) }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- id: repository
run: echo "name=$(basename $(dirname ${{ matrix.readme_path }}))" >> "$GITHUB_OUTPUT"

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0
with:
repository: flwr/${{ steps.repository.outputs.name }}
readme-filepath: ${{ matrix.readme_path }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
38 changes: 38 additions & 0 deletions src/docker/base/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Flower Base

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
- nightly image uses Python 3.11 and Ubuntu 22.04
- `1.10.0-py3.11-alpine3.19`
- `1.10.0-py3.11-ubuntu22.04`
- `1.10.0-py3.10-ubuntu22.04`
- `1.10.0-py3.9-ubuntu22.04`
- `1.10.0-py3.8-ubuntu22.04`
- `1.9.0-py3.11-alpine3.19`
- `1.9.0-py3.11-ubuntu22.04`
- `1.9.0-py3.10-ubuntu22.04`
- `1.9.0-py3.9-ubuntu22.04`
- `1.9.0-py3.8-ubuntu22.04`
- `1.8.0-py3.11-alpine3.19`
- `1.8.0-py3.11-ubuntu22.04`
- `1.8.0-py3.10-ubuntu22.04`
- `1.8.0-py3.9-ubuntu22.04`
- `1.8.0-py3.8-ubuntu22.04`
22 changes: 22 additions & 0 deletions src/docker/clientapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Flower ClientApp

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
34 changes: 34 additions & 0 deletions src/docker/serverapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Flower ServerApp

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
- `1.10.0`, `1.10.0-py3.11-ubuntu22.04`
- `1.10.0-py3.10-ubuntu22.04`
- `1.10.0-py3.9-ubuntu22.04`
- `1.10.0-py3.8-ubuntu22.04`
- `1.9.0`, `1.9.0-py3.11-ubuntu22.04`
- `1.9.0-py3.10-ubuntu22.04`
- `1.9.0-py3.9-ubuntu22.04`
- `1.9.0-py3.8-ubuntu22.04`
- `1.8.0`, `1.8.0-py3.11-ubuntu22.04`
- `1.8.0-py3.10-ubuntu22.04`
- `1.8.0-py3.9-ubuntu22.04`
- `1.8.0-py3.8-ubuntu22.04`
26 changes: 26 additions & 0 deletions src/docker/superexec/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Flower SuperExec

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
- `1.10.0`, `1.10.0-py3.11-ubuntu22.04`
- `1.10.0-py3.10-ubuntu22.04`
- `1.10.0-py3.9-ubuntu22.04`
- `1.10.0-py3.8-ubuntu22.04`
28 changes: 28 additions & 0 deletions src/docker/superlink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Flower SuperLink

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
- `1.10.0`, `1.10.0-py3.11-alpine3.19`
- `1.10.0-py3.11-ubuntu22.04`
- `1.9.0`, `1.9.0-py3.11-alpine3.19`
- `1.9.0-py3.11-ubuntu22.04`
- `1.8.0`, `1.8.0-py3.11-alpine3.19`
- `1.8.0-py3.11-ubuntu22.04`
30 changes: 30 additions & 0 deletions src/docker/supernode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Flower SuperNode

<p align="center">
<a href="https://flower.ai/">
<img src="https://flower.ai/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />
</a>
</p>

## Quick reference

- **Learn more:**<br>
[Flower Docs](https://flower.ai/docs/framework/how-to-run-flower-using-docker.html)

- **Where to get help:**<br>
[Flower Discuss](https://discuss.flower.ai), [Slack](https://flower.ai/join-slack) or [GitHub](https://github.com/adap/flower)

- **Supported architectures:**<br>
`amd64`, `arm64v8`

## Supported tags

- `nightly`, `<version>.dev<YYYYMMDD>` e.g. `1.11.0.dev20240724`
- `1.10.0`, `1.10.0-py3.11-ubuntu22.04`
- `1.10.0-py3.10-ubuntu22.04`
- `1.10.0-py3.9-ubuntu22.04`
- `1.10.0-py3.8-ubuntu22.04`
- `1.9.0`, `1.9.0-py3.11-ubuntu22.04`
- `1.9.0-py3.10-ubuntu22.04`
- `1.9.0-py3.9-ubuntu22.04`
- `1.9.0-py3.8-ubuntu22.04`

0 comments on commit 01d865e

Please sign in to comment.