diff --git a/package.json b/package.json index 412fb1d..3eeed21 100644 --- a/package.json +++ b/package.json @@ -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" },