From a45f1eac39e7e4d767a3da7bc36299f111466e12 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sun, 10 Nov 2019 22:20:32 +0900 Subject: [PATCH] Update workflow --- .github/workflows/dockerhub-description.yml | 19 +++++++++++++++++++ .github/workflows/push.yml | 16 ---------------- 2 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/dockerhub-description.yml delete mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml new file mode 100644 index 0000000..a5f2d7a --- /dev/null +++ b/.github/workflows/dockerhub-description.yml @@ -0,0 +1,19 @@ +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: Docker Hub Description + uses: peter-evans/dockerhub-description@v2.1.0 + env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} + DOCKERHUB_REPOSITORY: peterevans/nominatim-k8s diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml deleted file mode 100644 index 6dbbfee..0000000 --- a/.github/workflows/push.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Update Docker Hub Description -on: - push: - branches: - - master -jobs: - dockerHubDescription: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v2.1.0 - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - DOCKERHUB_REPOSITORY: peterevans/nominatim-k8s