Skip to content

Commit b6ea1d5

Browse files
authored
Merge pull request #1490 from mathbunnyru/asalikhov/add_hub_overview_workflow
Add workflow to automatically update dockerhub overview
2 parents fb12426 + 4a1a9e8 commit b6ea1d5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/hub-overview.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Update dockerhub overviews
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
paths:
9+
- "base-notebook/README.md"
10+
- "minimal-notebook/README.md"
11+
- "r-notebook/README.md"
12+
- "scipy-notebook/README.md"
13+
- "tensorflow-notebook/README.md"
14+
- "datascience-notebook/README.md"
15+
- "pyspark-notebook/README.md"
16+
- "all-spark-notebook/README.md"
17+
18+
jobs:
19+
update-dockerhub-overview:
20+
name: Update dockerhub overviews
21+
runs-on: ubuntu-latest
22+
if: >
23+
!contains(github.event.head_commit.message, 'ci skip') &&
24+
!contains(github.event.pull_request.title, 'ci skip')
25+
26+
steps:
27+
- name: Clone Main Repo
28+
uses: actions/checkout@v2
29+
30+
- name: push README to Dockerhub for base-notebook
31+
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # dependabot updates to latest release
32+
env:
33+
DOCKER_USER: ${{secrets.DOCKERHUB_USERNAME}}
34+
DOCKER_PASS: ${{secrets.DOCKERHUB_TOKEN}}
35+
with:
36+
destination_container_repo: jupyter/base-notebook
37+
provider: dockerhub
38+
short_description: "Small base image for Jupyter Notebook stacks from https://github.com/jupyter/docker-stacks"
39+
readme_file: "base-notebook/README.md"

0 commit comments

Comments
 (0)