include version tags in dockerhub pushes

This commit is contained in:
Will Murphy 2023-05-26 09:36:45 -05:00
parent 7d63a41795
commit 9891eef222

View file

@ -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"
},