Merge pull request #3 from vkhurana/fix-badges #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Update Docker Hub Description' | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- README.md | |
- .github/workflows/update-dockerhub-description.yml | |
jobs: | |
description: | |
name: 'Update Docker Hub Description' | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- name: 'Checkout Code' | |
uses: actions/checkout@v4 | |
# https://github.com/marketplace/actions/docker-hub-description | |
# Access tokens cannot update readme.md, we have to use the real password | |
- name: 'Update Docker Hub Description' | |
uses: peter-evans/dockerhub-description@v4 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
repository: vkhurana/docker-prusaslicer | |