feat(ci): sync description on hub.docker.io
Some checks failed
Markdown linter / markdown-lint (push) Waiting to run
Golang Tests / unittest (push) Has been cancelled
Update Docker Hub Description / update-description-on-hub-docker-io (push) Failing after 10s

This commit is contained in:
Markus Pesch 2025-04-14 19:40:28 +02:00
parent 6387e972e3
commit 5560d13550
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
4 changed files with 28 additions and 12 deletions

View File

@ -4,10 +4,8 @@ on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches:
- '**'
tags-ignore:
- '**'
branches: [ '**' ]
tags-ignore: [ '**' ]
jobs:
unittest:

View File

@ -4,10 +4,8 @@ on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches:
- '**'
tags-ignore:
- '**'
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
jobs:

View File

@ -2,7 +2,7 @@ name: Release
on:
push:
tags: [ "*" ]
tags: [ '**' ]
permissions:
contents: write
@ -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
@ -48,4 +49,4 @@ jobs:
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/dcmerge:${TAG} \
docker://docker.io/volkerraschek/dcmerge:${TAG}
docker://docker.io/volkerraschek/dcmerge:${TAG}

View File

@ -0,0 +1,19 @@
name: Update Docker Hub Description
on:
push:
branches: [ 'master' ]
paths: [ 'README.md' ]
jobs:
update-description-on-hub-docker-io:
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