feat(ci): sync description on hub.docker.io
This commit is contained in:
parent
6387e972e3
commit
e2ed63011d
@ -31,8 +31,9 @@ jobs:
|
||||
version: "~> v2"
|
||||
args: release --clean
|
||||
|
||||
sync-container-image:
|
||||
needs: release
|
||||
sync-to-hub-docker-io:
|
||||
needs:
|
||||
- release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Copy images to docker.io
|
||||
|
22
.gitea/workflows/update-docker-hub-description.yml
Normal file
22
.gitea/workflows/update-docker-hub-description.yml
Normal file
@ -0,0 +1,22 @@
|
||||
name: Update Docker Hub Description
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- README.md
|
||||
|
||||
jobs:
|
||||
update-description-on-hub-docker-io:
|
||||
needs:
|
||||
- sync-container-image
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: peter-evans/dockerhub-description@v4.0.2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_IO_PASSWORD }}
|
||||
repository: peterevans/dockerhub-description
|
||||
readme-filepath: README.md
|
Loading…
x
Reference in New Issue
Block a user