Skip to content

Commit

Permalink
fix docker build script
Browse files Browse the repository at this point in the history
Now builds the current version.
  • Loading branch information
garris committed Oct 3, 2022
1 parent 2009cad commit e6cb1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e6cb1f1

Please sign in to comment.