Convert main.workflow to v2 yml

This commit is contained in:
Peter Evans
2019-08-12 14:18:06 +09:00
parent 09a017779e
commit 96ab422aa6
2 changed files with 17 additions and 15 deletions

17
.github/workflows/push.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
on: push
name: Update Docker Hub Description
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Filter master branch
uses: actions/bin/filter@master
with:
args: branch master
- name: Docker Hub Description
uses: ./
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_REPOSITORY: ${{ secrets.DOCKERHUB_REPOSITORY }}