dhbp

App to build Nim Docker images and push them to Docker Hub.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 2.0.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:27

Authors

  • Constantine Molchanov

Installation

nimble install dhbp
choosenim install dhbp
git clone https://github.com/moigagoo/dhbp

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
dhbp - - - - - - -

Dependencies

Package Version Optional
nim >= 2.2.2 No
climate >= 1.1.3 No

Source

Repository https://github.com/moigagoo/dhbp
Homepage https://github.com/moigagoo/dhbp
Registry Source nimble_official

README

dhbp

A tool to build Nim Docker images and push them to Docker Hub.

The title means Docker Hub Builder and Pusher.

Usage

Before running the app for the first time, create a multiarch builder:

$ dhbp setup

Usage:

$ dhbp build-and-push [--config|-c=config.json] [--all|-a] [--dry|-d] [--save|-s] [ ...]

Build and push specific versions:

$ dhbp build-and-push ...

Build and push specific versions and save the Dockerfiles in Dockerfiles/<version>/<flavor>:

$ dhbp build-and-push --save ...

Build and push all versions listed in the config file:

$ dhbp build-and-push --all

Use custom config file (by default, config.json in the current directory is used):

$ dhbp build-and-push --config=path/to/custom_config.json ...

Dry run (nothing is built or pushed, use to check the config and command args):

$ dhbp build-and-push --dry ...

Generate Docker Hub library file:

$ dhbp generate-dockerhub-library-file

<git_commit_hash> is the hash of the commit pointing to the latest version commit in https://github.com/nim-lang/docker-images.