Skip to content

feat: disable push for tags: branch and latest when ${{ github.event_… #2

feat: disable push for tags: branch and latest when ${{ github.event_…

feat: disable push for tags: branch and latest when ${{ github.event_… #2

name: Update Docker Hub Description
on:
push:
branches:
- main
paths:
- README.md
- .github/workflows/dockerhub-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: peter-evans/[email protected]
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: snowdreamtech/rust
short-description: ${{ github.event.repository.description }}
enable-url-completion: true