CSRBot 84b6615bda
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 1m52s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 54s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 50s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 39s
Lint Markdown files / Run markdown linter (pull_request) Successful in 16s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
chore(deps): update module github.com/spf13/cobra to v1.10.1
2025-09-01 19:06:15 +00:00
2025-05-29 13:25:29 +02:00
2025-05-29 13:25:29 +02:00
2025-05-29 13:25:29 +02:00
2019-09-24 14:38:21 +02:00
2025-05-31 17:50:38 +02:00
2025-05-31 17:50:38 +02:00
2025-05-31 17:57:19 +02:00
2019-11-12 20:13:06 +01:00

docker hub description updater

Docker Pulls

By specifying the login data for hub.docker.com you can update the short and long description of a docker repository.

Usage

The examples below describe two ways to update the full description of the docker hub repository. First by the binary and second by a container based way.

dhdu \
  --user=<username> \
  --password=<password> \
  --namespace=<namespace> \
  --repository=<repository> \
  --file=./README.md
docker run \
  --rm \
  --volume $(pwd):/workspace \
    volkerraschek/dhdu \
      --user=<username> \
      --password=<password> \
      --namespace=<namespace> \
      --repository=<repository> \
      --file=./README.md

Compiling the source code

There are two different ways to compile dhdu from scratch. The easier ways is to use the pre-defined container image in the Makefile, which has included all dependancies to compile dhdu. Alternatively, if all dependencies are met, dhdu can also be compiled without the container image. Both variants are briefly described.

Compiling the source code via container image

To compile dhdu via container image it's necessary, that a container runtime is installed. In the Makefile is predefined docker, but it's can be also used podman. Execute make container-run/dhdu to start the compiling process.

make container-run/dhdu

Compiling the source code without container image

Make sure you have installed go >= v1.12. Execute make dhdu to compile dhdu without a container-image. There should be a similar output as when compiling dhdu via the container image.

Description
No description provided
Readme 154 KiB
Languages
Go 60.6%
Makefile 32.1%
Shell 6.2%
Dockerfile 1.1%