You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

docker-meta

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-meta - npm Package Compare versions

Comparing version

to
2.0.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## [2.0.0](https://github.com/felipecrs/docker-meta/compare/v1.0.1...v2.0.0) (2021-02-11)
### ⚠ BREAKING CHANGES
* remove `branch-` prefix from tags and normalize branch name (#6)
### Features
* remove `branch-` prefix from tags and normalize branch name ([#6](https://github.com/felipecrs/docker-meta/issues/6)) ([3a3a773](https://github.com/felipecrs/docker-meta/commit/3a3a77338ebc2ef44e026ec5334b997c3d1dfbb1))
### [1.0.1](https://github.com/felipecrs/docker-meta/compare/v1.0.0...v1.0.1) (2021-02-11)

@@ -2,0 +13,0 @@

2

lib/index.js

@@ -107,3 +107,3 @@ "use strict";

if (config.latest) {
outputTarget.tags.push(...inputTarget.images.map((image) => `${image}:branch-${config.branch}`));
outputTarget.tags.push(...inputTarget.images.map((image) => `${image}:${config.branch.replace(/[^a-zA-Z0-9._-]+/g, '-')}`));
// eslint-disable-next-line max-depth

@@ -110,0 +110,0 @@ if (config.branch === "master" || config.branch === "develop") {

{
"name": "docker-meta",
"description": "Generates docker meta information such as tags, labels and build-args.",
"version": "1.0.1",
"version": "2.0.0",
"author": "Felipe Santos @felipecrs",

@@ -28,2 +28,3 @@ "bin": {

"@semantic-release/git": "^9.0.0",
"@types/common-tags": "^1.8.0",
"@types/listr": "^0.14.2",

@@ -34,2 +35,3 @@ "@types/node": "^10.17.28",

"commitizen": "^4.1.5",
"common-tags": "^1.8.0",
"conventional-changelog-conventionalcommits": "^4.5.0",

@@ -36,0 +38,0 @@ "cz-conventional-changelog": "^3.2.0",

@@ -26,3 +26,3 @@ # docker-meta

$ docker-meta (-v|--version|version)
docker-meta/1.0.1 linux-x64 node-v12.20.1
docker-meta/2.0.0 linux-x64 node-v12.20.1
$ docker-meta --help [COMMAND]

@@ -29,0 +29,0 @@ USAGE