Skip to content

Commit

Permalink
include latest tag with docker build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
garris committed Jun 16, 2022
1 parent 02eb047 commit fa36249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"build-and-copy-report-bundle": "npm run build-compare && npm run copy-report-bundle",
"remote": "cd test/configs/ && node ../../cli/index.js remote",
"stop": "curl http://localhost:3000/stop",
"build-docker": "PV=$(node -p -e \"require('./package.json').version\"); docker build docker -t backstopjs/backstopjs:$PV",
"publish-docker": "PV=$(node -p -e \"require('./package.json').version\"); docker push backstopjs/backstopjs:$PV",
"build-docker": "PV=$(node -p -e \"require('./package.json').version\"); docker build docker -t backstopjs/backstopjs:$PV; docker build docker -t backstopjs/backstopjs:latest",
"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 fa36249

Please sign in to comment.