Socket
Socket
Sign inDemoInstall

docker-meta

Package Overview
Dependencies
143
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docker-meta

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


Version published
Weekly downloads
1.3K
increased by11.55%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

4.4.0 (2023-09-20)

Features

  • add --tag-git-sha to generate tags like :sha-<git-sha> (#227) (587ed09)

Readme

Source

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.

Keywords

FAQs

Last updated on 20 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc