docker-meta

Generates docker meta information such as tags, labels and build-args.

Downloads
4.3K
Stars
0
Committers
3

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.

Package Rankings
Top 17.49% on Npmjs.org
Badges
Extracted from project README
ci Version Downloads/week License oclif Conventional Commits semantic-release