Merge pull request #265 from adelton/patch-1 #57
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: DockerHub Image Description | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
filters: | |
runs-on: ubuntu-latest | |
outputs: | |
readme: ${{ steps.filter.outputs.readme }} | |
steps: | |
- | |
uses: actions/checkout@v2 | |
- | |
id: filter | |
uses: dorny/[email protected] | |
with: | |
filters: '.github/filters.yml' | |
update-dockerhub-doc: | |
runs-on: ubuntu-latest | |
if: (needs.filters.outputs.readme == 'true' || github.event_name == 'workflow_dispatch') && github.repository_owner == 'OctoPrint' | |
steps: | |
- | |
uses: actions/checkout@v2 | |
- | |
name: Update DockerHub Description | |
uses: peter-evans/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: octoprint/octoprint |