mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-07-01 07:48:03 +00:00
Add automatic update container description action
This commit is contained in:
@@ -6,9 +6,12 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '.gitignore'
|
||||||
|
- '.github/workflows/readme.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- '.github/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-script:
|
test-script:
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
name: README
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
paths:
|
||||||
|
- 'README.md'
|
||||||
|
- 'dockerhub-header.md'
|
||||||
|
- '.github/workflows/readme.yml'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push-readme:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
environment: docker.io
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Generate README for DockerHub
|
||||||
|
run: cp dockerhub-header.md dockerhub.md && awk '{if(p)print}/^# /{p=1}' README.md >> dockerhub.md
|
||||||
|
|
||||||
|
- name: Push README to DockerHub
|
||||||
|
uses: christian-korneck/update-container-description-action@v1
|
||||||
|
env:
|
||||||
|
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
destination_container_repo: ${{ secrets.DOCKERHUB_USERNAME }}/postgres-backup-local
|
||||||
|
provider: dockerhub
|
||||||
|
short_description: 'Backup PostgresSQL to local filesystem with periodic backups and rotate backups.'
|
||||||
|
readme_file: 'dockerhub.md'
|
||||||
@@ -1 +1,2 @@
|
|||||||
.data
|
.data
|
||||||
|
dockerhub.md
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[](https://github.com/prodrigestivill/docker-postgres-backup-local)
|
||||||
|

|
||||||
|

|
||||||
|
[](https://github.com/prodrigestivill/docker-postgres-backup-local/actions)
|
||||||
|
|
||||||
|
# prodrigestivill/postgres-backup-local
|
||||||
Reference in New Issue
Block a user