You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
715 B
28 lines
715 B
# 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 }}
|