diff --git a/package.json b/package.json index 3b8c97355..090e71acc 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build-and-copy-report-bundle": "npm run build-compare && npm run copy-report-bundle", "remote": "cd test/configs/ && node ../../cli/index.js remote", "stop": "cd test/configs/ && node ../../cli/index.js stop", - "build-docker": "PV=$(node -p -e \"require('./package.json').version\"); docker build docker -t backstopjs/backstopjs:$PV; docker build docker -t backstopjs/backstopjs:latest", + "build-docker": "PV=$(node -p -e \"require('./package.json').version\"); echo $PV; docker build docker -t backstopjs/backstopjs:$PV --build-arg BACKSTOPJS_VERSION=$PV; docker build docker -t backstopjs/backstopjs:latest --build-arg BACKSTOPJS_VERSION=$PV", "publish-docker": "PV=$(node -p -e \"require('./package.json').version\"); docker push backstopjs/backstopjs:$PV; docker push backstopjs/backstopjs:latest", "publish-npm": "npm publish", "build-and-publish": "npm run publish-npm && npm run build-docker && npm run publish-docker"