Initial commit
This commit is contained in:
26
.gitea/workflows/dockerhub-description.yml
Normal file
26
.gitea/workflows/dockerhub-description.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Update Docker Hub Description
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- README.md
|
||||
- .gitea/workflows/dockerhub-description.yml
|
||||
|
||||
jobs:
|
||||
dockerHubDescription:
|
||||
runs-on: ubuntu-latest
|
||||
container: mynodejs:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Update Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPONAME }}
|
||||
short-description: ${{ gitea.repository.description }}
|
||||
Reference in New Issue
Block a user