describe-docker
is a GitHub action designed to update docker image description.
- In your GitHub repository, select the Actions tab and either add or edit a workflow.
- Search for
describe-docker
from the Marketplace tab on the right. - Copy and paste the yaml into your workflow.
[OR]
Copy & paste the following workflow definition into your project .github/workflows/describe-docker.yml
name: Docker Hub Description
on:
push:
workflow_dispatch:
jobs:
describe-docker:
runs-on: ubuntu-latest
steps:
- uses: thevickypedia/describe-docker@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
summary: "Short description to summarize the docker image"
repository: "vaultapi"
filename: "README.md"
- Commit your changes to trigger the workflow or run the workflow manually.
username
- Docker hub username.password
- Docker hub password.registry
- Docker hub registry URL (defaults to https://hub.docker.com/v2)repository
- Name of the docker image repository. Docker hub username is prefixed automatically.summary
- Docker repository overview (100-character limit)filename
- Filename to read the full description for the docker image.
© Vignesh Rao
Licensed under the MIT License