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

28 lines
905 B
YAML
Raw Permalink 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:
2021-05-12 10:12:31 +02:00
- main
2019-11-10 13:57:41 +01:00
paths:
- README.md
- .github/workflows/dockerhub-description.yml
2019-08-12 07:18:06 +02:00
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
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
2021-05-12 10:12:31 +02:00
sed -i 's/(LICENSE)/(https:\/\/github.com\/peter-evans\/dockerhub-description\/blob\/main\/LICENSE)/' README.md
2020-09-09 06:36:13 +02:00
2019-10-28 16:50:55 +01:00
- name: Docker Hub Description
uses: ./
2020-09-23 08:58:52 +02:00
with:
2020-09-25 08:48:51 +02:00
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: peterevans/dockerhub-description
2021-03-31 10:03:42 +02:00
short-description: ${{ github.event.repository.description }}