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:
|
|
|
|
-
|
|
|
|
name: Update Docker Hub README
|
|
|
|
uses: peter-evans/dockerhub-description@v3
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
repository: ${{ env.DOCKERHUB_SLUG }}
|
|
|
|
readme-filepath: ./docs/dockerhub.md
|