docker-hub-description-updater

command module
v0.0.0-...-4337da6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

docker hub description updater

Build Status Go Report Card GoDoc Reference Docker Pulls

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

Usage

Test

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
hub

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL