# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Docker Hub Updates on: push: branches: [master] paths: - README.md - .github/workflows/docker-hub.yml workflow_dispatch: jobs: readme: name: Update Repo Metadata runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Update Docker Hub Description uses: peter-evans/dockerhub-description@v4 if: github.ref == 'refs/heads/master' env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} DOCKERHUB_REPOSITORY: ${{ github.repository }}