From 9891eef222b2c553ce25290453e4d3900025172c Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Fri, 26 May 2023 09:36:45 -0500 Subject: [PATCH] include version tags in dockerhub pushes --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },