Skip to content

Commit

Permalink
Merge pull request #37 from weseek/fix/publishing-description-to-dock…
Browse files Browse the repository at this point in the history
…er-hub-is-failed

update peter-evans/dockerhub-description of build_and_push workflow
  • Loading branch information
ryu-sato authored Feb 11, 2023
2 parents c71481a + a109e87 commit 93cbc8a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build and push Docker Image

on:
on:
push:
branches:
- master
Expand Down Expand Up @@ -38,14 +38,14 @@ jobs:
publish_description:
runs-on: ubuntu-latest
needs: build_and_push

steps:
- uses: actions/checkout@v2

- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v2.1.0
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
DOCKERHUB_REPOSITORY: ${{ env.DOCKERHUB_REPOSITORY }}
README_FILEPATH: ./README.md
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
repository: ${{ env.DOCKERHUB_REPOSITORY }}
readme-filepath: ./README.md

0 comments on commit 93cbc8a

Please sign in to comment.