docker-meta
v4.4.0
Published
Generates docker meta information such as tags, labels and build-args.
Downloads
3,672
Readme
docker-meta
Generates docker meta information such as tags, labels and build-args.
Usage
$ npm install -g docker-meta
$ docker-meta COMMAND
running command...
$ docker-meta (-v|--version|version)
docker-meta/4.4.0 linux-x64 node-v18.18.0
$ docker-meta --help [COMMAND]
USAGE
$ docker-meta COMMAND
...
To use with docker buildx bake:
docker buildx bake -f <(docker-meta)
$ docker-meta --help
Generates docker meta information such as tags, labels and build-args.
USAGE
$ docker-meta
OPTIONS
-V show CLI version
-c, --config=config Path to the config file
-h, --help show CLI help
-o, --output=output Path to the output file
--branch=branch The branch
--build-date=build-date The build date in ISO 8601
--change-number=change-number The change number
--[no-]change-request Change request mode
--git-sha=git-sha The git sha
--[no-]latest Push as latest
--version=version The version to publish
DESCRIPTION
The config will be read from any valid config file in the current directory. The configuration file can be defined using all the extensions and names accepted by cosmiconfig, such as docker-meta.config.js
You can find an example of config file here.