A WoodpeckerCI plugin to write metadata to DockerHub repositories. https://hub.docker.com/r/kokuwaio/dockerhub-metadata
Find a file
Stephan Schnabel b2457efd3f
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/push/dockerhub Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test/1 Pipeline failed
ci/woodpecker/push/test/2 Pipeline failed
Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x"
2025-06-13 15:56:14 +02:00
.github Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
.woodpecker Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
.justfile Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
.markdownlint.yaml Initial plugin source. 2025-02-08 22:05:30 +01:00
.yamllint.yaml Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
Dockerfile Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
Dockerfile.dockerignore Initial plugin source. 2025-02-08 22:05:30 +01:00
entrypoint.sh Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
LICENSE Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
README.md Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00
renovate.json Auto stash 123before merge of "main" and "origin/renovate/gcr.io-kaniko-project-executor-1.24.x" 2025-06-13 15:56:14 +02:00

DockerHub Metadata WoodpeckerCI Plugin

pulls size dockerfile license prs issues

A WoodpeckerCI plugin to write metadata to DockerHub repositories.
Also usable with Gitlab, Github or locally, see examples for usage.

Features

  • set full description in repository from local file
  • set short description in repository from settings
  • set categories for repository

Example

Woodpecker:

steps:
  dockerhub:
    image: kokuwaio/dockerhub-metadata
    settings:
      repository: kokuwaio/example-image
      description-short: This image does that!
      categories: [developer-tools, integration-and-delivery]
      username: {from_secret: DOCKERHUB_USERNAME}
      password: {from_secret: DOCKERHUB_PASSWORD}
    when:
      event: push
      branch: main
      path: README.md

Gitlab:

dockerhub:
  stage: deploy
  image: kokuwaio/hadolint
  variables:
    PLUGIN_REPOSITORY: kokuwaio/example-image
    PLUGIN_DESCRIPTION_SHORT: This image does that!
    PLUGIN_CATEGORIES: developer-tools,integration-and-delivery
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
      changes: [README.md]

Settings

Settings Name Environment Default Description
repository PLUGIN_REPOSITORY none Repository to update with metadata, e.g. kokuwaio/example
description-short PLUGIN_DESCRIPTION_SHORT none Short description for repository.
description-file PLUGIN_DESCRIPTION_FILE README.md File to read full description from
categories PLUGIN_CATEGORIES [] List of categories to set (maximum 3)
username PLUGIN_USERNAME none Username for Dockerhub login
password PLUGIN_PASSWORD none Password for Dockerhub login, PAT is not supported!