include version tags in dockerhub pushes
This commit is contained in:
parent
7d63a41795
commit
9891eef222
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"build": "docker build -t datatitian/guppe .",
|
||||
"publish": "docker push datatitian/guppe:latest",
|
||||
"publish": "docker tag datatitian/guppe:latest datatitian/guppe:$npm_package_version && docker push datatitian/guppe:latest && docker push datatitian/guppe:$npm_package_version",
|
||||
"build-pub": "npm run build && npm run publish",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue