A tool to build Nim Docker images and push them to Docker Hub.
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 ...