2023-10-01 10:06:36 +00:00
|
|
|
name: dockerhub-readme
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
paths:
|
2023-10-13 10:05:12 +00:00
|
|
|
- '.github/workflows/dockerhub-readme.yml'
|
2023-10-01 10:06:36 +00:00
|
|
|
- 'docs/dockerhub.md'
|
|
|
|
|
|
|
|
env:
|
|
|
|
DOCKERHUB_SLUG: distribution/distribution
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-14 17:16:01 +00:00
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
2023-10-01 10:06:36 +00:00
|
|
|
-
|
|
|
|
name: Update Docker Hub README
|
2024-01-26 02:05:37 +00:00
|
|
|
uses: peter-evans/dockerhub-description@v4
|
2023-10-01 10:06:36 +00:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
repository: ${{ env.DOCKERHUB_SLUG }}
|
|
|
|
readme-filepath: ./docs/dockerhub.md
|