dockerhub-description/.github/workflows/dockerhub-description.yml

27 lines
867 B
YAML
Raw Normal View History

2019-08-12 07:18:06 +02:00
name: Update Docker Hub Description
2019-08-12 10:30:59 +02:00
on:
2020-08-22 02:52:30 +02:00
workflow_dispatch:
2019-08-12 10:30:59 +02:00
push:
branches:
2019-11-10 13:57:41 +01:00
- master
paths:
- README.md
- .github/workflows/dockerhub-description.yml
2019-08-12 07:18:06 +02:00
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
2020-01-04 01:21:19 +01:00
- uses: actions/checkout@v2
2020-09-09 06:36:13 +02:00
- name: Modify readme for DockerHub
run: |
sed -i 's/# Docker Hub Description/# [Docker Hub Description](https:\/\/github.com\/peter-evans\/dockerhub-description)/' README.md
sed -i 's/(LICENSE)/(https:\/\/github.com\/peter-evans\/dockerhub-description\/blob\/master\/LICENSE)/' README.md
2019-10-28 16:50:55 +01:00
- name: Docker Hub Description
uses: ./
2020-09-23 08:58:52 +02:00
with:
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-password: ${{ secrets.DOCKERHUB_PASSWORD }}
dockerhub-repository: peterevans/dockerhub-description