Merge pull request #186 from C10udburst/main #4
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: Update Docker Hub Description | |
env: | |
IMAGE_NAME: ${{ github.repository }} | |
DOCKERHUB_USERNAME: c4illin | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- README.md | |
- .github/workflows/dockerhub-description.yml | |
jobs: | |
dockerHubDescription: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker Hub Description | |
uses: peter-evans/dockerhub-description@v4 | |
with: | |
username: ${{ env.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
repository: ${{ env.IMAGE_NAME }} | |
short-description: ${{ github.event.repository.description }} | |
enable-url-completion: true |