2024-01-31 11:07:27 +00:00
|
|
|
name: (push-master) Update Docker Hub README
|
2021-03-12 09:29:57 +00:00
|
|
|
|
2022-02-15 16:10:15 +00:00
|
|
|
on:
|
2021-03-12 09:29:57 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- 'docker/README.md'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-docker-hub-readme:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-02-15 16:10:15 +00:00
|
|
|
-
|
2021-03-12 09:29:57 +00:00
|
|
|
name: Check out the repo
|
2024-01-30 09:20:25 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-05-17 10:49:25 +00:00
|
|
|
if: ${{ github.repository_owner == 'crowdsecurity' }}
|
2021-03-12 09:29:57 +00:00
|
|
|
-
|
|
|
|
name: Update docker hub README
|
|
|
|
uses: ms-jpq/sync-dockerhub-readme@v1
|
2022-05-17 10:49:25 +00:00
|
|
|
if: ${{ github.repository_owner == 'crowdsecurity' }}
|
2021-03-12 09:29:57 +00:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
repository: crowdsecurity/crowdsec
|
2022-02-15 16:10:15 +00:00
|
|
|
readme: "./docker/README.md"
|