Debian Codegraph @

.github/workflows/registry-overviews.yml

raw
1 name: Update Registry overviews
2
3 env:
4 OWNER: ${{ github.repository_owner }}
5
6 on:
7 push:
8 branches:
9 - main
10 paths:
11 - ".github/workflows/registry-overviews.yml"
12
13 - "README.md"
14 - "onbuild/README.md"
15 - "demo-image/README.md"
16 - "singleuser/README.md"
17 workflow_dispatch:
18
19 jobs:
20 update-overview:
21 runs-on: ubuntu-latest
22 name: update-overview (${{matrix.image}})
23 if: github.repository_owner == 'jupyterhub'
24
25 steps:
26 - name: Checkout Repo ⚡️
27 uses: actions/checkout@v4
28
29 - name: Push README to Registry 🐳
30 uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1
31 env:
32 DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
33 DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
34 with:
35 destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }}
36 provider: dockerhub
37 short_description: ${{ matrix.description }}
38 readme_file: ${{ matrix.readme_file }}
39
40 strategy:
41 matrix:
42 include:
43 - image: jupyterhub
44 description: "JupyterHub: multi-user Jupyter notebook server"
45 readme_file: README.md
46 - image: jupyterhub-onbuild
47 description: onbuild version of JupyterHub images
48 readme_file: onbuild/README.md
49 - image: jupyterhub-demo
50 description: Demo JupyterHub Docker image with a quick overview of what JupyterHub is and how it works
51 readme_file: demo-image/README.md
52 - image: singleuser
53 description: "single-user docker images for use with JupyterHub and DockerSpawner see also: jupyter/docker-stacks"
54 readme_file: singleuser/README.md