build(deps): Bump caddy from 2.8.4 to 2.9.1 (#123) #10
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 README Sync | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- README.md | |
jobs: | |
readme: | |
name: Sync README with DockerHub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Generate DockerHub repository name | |
id: repo | |
shell: bash | |
run: | | |
NAME=$(echo "${GITHUB_REPOSITORY/docker-/}" | tr '[:upper:]' '[:lower:]') | |
echo "name=$NAME" | tee -a "$GITHUB_OUTPUT" | |
- name: Update Docker Hub description | |
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
repository: ${{ steps.repo.outputs.name }} | |
short-description: ${{ github.event.repository.description }} |