mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-20 23:13:23 +10:00
28 lines
618 B
YAML
28 lines
618 B
YAML
name: Update Docker Hub Description
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: ["main"]
|
|
paths:
|
|
- README.md
|
|
- .github/workflows/docker-hub-description.yml
|
|
|
|
env:
|
|
IMAGE: ${{ github.repository }}
|
|
|
|
jobs:
|
|
update-description:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
sparse-checkout: README.md
|
|
|
|
- name: Update Docker Hub Description
|
|
uses: peter-evans/dockerhub-description@v5
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
repository: ${{ env.IMAGE }} |