docker-meta
TypeScript icon, indicating that this package has built-in type declarations

4.4.0 • Public • Published

docker-meta

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

ci Version Downloads/week License oclif Conventional Commits semantic-release

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.

/docker-meta/

    Package Sidebar

    Install

    npm i docker-meta

    Weekly Downloads

    1,107

    Version

    4.4.0

    License

    MIT

    Unpacked Size

    24 kB

    Total Files

    7

    Last publish

    Collaborators

    • felipecrs