diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a98229b..d39b853 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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} \ No newline at end of file + docker://docker.io/volkerraschek/dcmerge:${TAG} diff --git a/.gitea/workflows/update-docker-hub-description.yml b/.gitea/workflows/update-docker-hub-description.yml new file mode 100644 index 0000000..046aa0c --- /dev/null +++ b/.gitea/workflows/update-docker-hub-description.yml @@ -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 \ No newline at end of file