change action to checkout v3 #6
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: Push README to Docker Hub | |
'on': | |
push: | |
branches: | |
- main | |
paths: | |
- README.md | |
- .github/workflows/auto-push-readme.yml | |
jobs: | |
PushContainerReadme: | |
runs-on: ubuntu-latest | |
name: Push README to Docker Hub | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: push README to Dockerhub | |
uses: christian-korneck/update-container-description-action@v1 | |
env: | |
DOCKER_USER: ${{ secrets.DOCKER_HUB_USERNAME }} | |
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }} | |
with: | |
destination_container_repo: aleksanderbl/pihole-unbound | |
provider: dockerhub | |
short_description: 'Docker image for pihole and unbound' | |
readme_file: 'README.md' |