feat: This github action updates the description of a container repo … #1
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: GitHub Actions Description Updater | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- README.md | |
- .github/workflows/description.yml | |
jobs: | |
dockerHubDescription: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
# [Required] Access token with `workflow` scope. | |
token: ${{ secrets.WORKFLOW_SECRET }} | |
- name: Docker Hub Description | |
uses: christian-korneck/update-container-description-action@v1 | |
env: | |
DOCKER_USER: ${{ secrets.DOCKER_HUB_USERNAME }} | |
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }} | |
with: | |
destination_container_repo: snowdreamtech/rust | |
provider: dockerhub | |
short_description: ${{ github.event.repository.description }} | |
readme_file: "README.md" | |
- name: Quay.io Description | |
uses: christian-korneck/update-container-description-action@v1 | |
env: | |
DOCKER_APIKEY: ${{ secrets.QUAY_API_TOKEN }} | |
with: | |
destination_container_repo: quay.io/snowdreamtech/rust | |
provider: quay | |
readme_file: "README.md" |