Skip to content

Commit 854a183

Browse files
authored
add docker repo override to readme action
1 parent c5d939c commit 854a183

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/update-dockerhub-readme.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ jobs:
1010
update_readme:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout repo
14+
uses: actions/checkout@v4
15+
1316
- name: Docker Hub Description
14-
uses: peter-evans/dockerhub-description@v3
17+
uses: peter-evans/dockerhub-description@v4
1518
with:
1619
username: ${{ secrets.DOCKERHUB_USERNAME }}
1720
password: ${{ secrets.DOCKERHUB_TOKEN }}
18-
repository: ${{ github.repository }}
21+
repository: ${{ secrets.DOCKER_REPO || github.repository }}
1922
readme-filepath: ./README.md
2023
short-description: ${{ github.event.repository.description }}

0 commit comments

Comments
 (0)