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

22 lines
609 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:
push:
branches:
- master
2019-08-12 07:18:06 +02:00
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
2019-10-28 16:50:55 +01:00
- uses: actions/checkout@v1
- name: Copy README.md to TEST.md
run: |
mkdir -p some/path
2019-10-28 16:52:05 +01:00
mv README.md some/path/TEST.md
2019-10-28 16:50:55 +01:00
- 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