mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-22 12:09:33 +01:00
24 lines
692 B
YAML
24 lines
692 B
YAML
name: Update Docker Hub Description
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- README.md
|
|
- .github/workflows/dockerhub-description.yml
|
|
jobs:
|
|
dockerHubDescription:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Copy README.md to TEST.md
|
|
run: |
|
|
mkdir -p some/path
|
|
mv README.md some/path/TEST.md
|
|
- name: Docker Hub Description
|
|
uses: ./
|
|
env:
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
DOCKERHUB_REPOSITORY: peterevans/dockerhub-description
|
|
README_FILEPATH: ./some/path/TEST.md
|