adding docker staging tag to CI build to avoid polluting latest

This commit is contained in:
Martin McKeaveney 2021-06-21 11:35:39 +01:00
parent 88a3fd7d4c
commit 72a61e4555
3 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@
"lint:fix": "yarn run lint:fix:prettier && yarn run lint:fix:eslint",
"test:e2e": "lerna run cy:test",
"test:e2e:ci": "lerna run cy:ci",
"build:docker": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh && cd -",
"build:docker": "lerna run build:docker:staging && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh && cd -",
"build:docker:staging": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh staging && cd -"
}
}

View File

@ -13,6 +13,7 @@
"test:integration": "jest --coverage --detectOpenHandles",
"test:watch": "jest --watch",
"build:docker": "docker build . -t app-service",
"build:docker:staging": "docker build . -t app-service:staging",
"run:docker": "node src/index",
"dev:stack:up": "node scripts/dev/manage.js up",
"dev:stack:down": "node scripts/dev/manage.js down",

View File

@ -14,6 +14,7 @@
"scripts": {
"run:docker": "node src/index.js",
"build:docker": "docker build . -t worker-service",
"build:docker:staging": "docker build . -t worker-service:staging",
"dev:stack:init": "node ./scripts/dev/manage.js init",
"dev:builder": "npm run dev:stack:init && nodemon src/index.js",
"test": "jest --runInBand"