feat(ci): sync description on hub.docker.io
This commit is contained in:
parent
6387e972e3
commit
5560d13550
@ -4,10 +4,8 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [ "opened", "reopened", "synchronize" ]
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ '**' ]
|
||||||
- '**'
|
tags-ignore: [ '**' ]
|
||||||
tags-ignore:
|
|
||||||
- '**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unittest:
|
unittest:
|
||||||
|
@ -4,10 +4,8 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [ "opened", "reopened", "synchronize" ]
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ '**' ]
|
||||||
- '**'
|
tags-ignore: [ '**' ]
|
||||||
tags-ignore:
|
|
||||||
- '**'
|
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -2,7 +2,7 @@ name: Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: [ "*" ]
|
tags: [ '**' ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -31,8 +31,9 @@ jobs:
|
|||||||
version: "~> v2"
|
version: "~> v2"
|
||||||
args: release --clean
|
args: release --clean
|
||||||
|
|
||||||
sync-container-image:
|
sync-to-hub-docker-io:
|
||||||
needs: release
|
needs:
|
||||||
|
- release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Copy images to docker.io
|
- name: Copy images to docker.io
|
||||||
@ -48,4 +49,4 @@ jobs:
|
|||||||
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
||||||
--src-username volker.raschek \
|
--src-username volker.raschek \
|
||||||
docker://git.cryptic.systems/volker.raschek/dcmerge:${TAG} \
|
docker://git.cryptic.systems/volker.raschek/dcmerge:${TAG} \
|
||||||
docker://docker.io/volkerraschek/dcmerge:${TAG}
|
docker://docker.io/volkerraschek/dcmerge:${TAG}
|
||||||
|
19
.gitea/workflows/update-docker-hub-description.yml
Normal file
19
.gitea/workflows/update-docker-hub-description.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user