Comparing version 0.0.2 to 0.0.3
@@ -50,3 +50,4 @@ var crypto = require('crypto'); | ||
var buildHash = hash.digest('hex'); | ||
var buildHash = hash.digest('hex').replace(/-/g, '_').toLowerCase(); | ||
var repo = (repoOwner + '/' + repoName).replace(/-/g, '_').toLowerCase(); | ||
@@ -57,3 +58,4 @@ return { | ||
hash: buildHash, | ||
imageName: (repoOwner + '/' + repoName + ':' + buildHash).replace(/-/g, '_').toLowerCase() | ||
repo: repo, | ||
imageName: repo + ':' + buildHash | ||
}; | ||
@@ -60,0 +62,0 @@ }); |
{ | ||
"name": "cf-common", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "common modules for codefresh runtime and api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2643
58