From 2440273016324c366711dc40315919c04999552f Mon Sep 17 00:00:00 2001 From: "s.gozman" Date: Fri, 8 Apr 2022 07:20:33 +0300 Subject: [PATCH] Add new docker script and version update --- package-lock.json | 4 ++-- package.json | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e5250ee1..4577bb94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "finra-short-api", - "version": "2.0.9", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "finra-short-api", - "version": "2.0.9", + "version": "2.1.0", "license": "MIT", "dependencies": { "@hapi/joi": "^17.1.1", diff --git a/package.json b/package.json index 55aea27e..214c7940 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "finra-short-api", - "version": "2.0.9", + "version": "2.1.0", "description": "API for TightShorts.ru - FINRA parser and screener", "author": "Sam Gozman ", "private": true, @@ -9,6 +9,7 @@ "prebuild": "rimraf dist", "build": "nest build", "build:docker:dev": "docker build . -t ghcr.io/samgozman/finra-short-api:dev ", + "build:docker:latest": "docker build . -t ghcr.io/samgozman/finra-short-api:latest ", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "cross-env NODE_ENV=production nest start", "start:dev": "cross-env NODE_ENV=development nest start --watch", @@ -23,7 +24,8 @@ "test:e2e": "cross-env NODE_ENV=test jest --config ./test/jest-e2e.json --detectOpenHandles", "test:e2e:watch": "cross-env NODE_ENV=test jest --config ./test/jest-e2e.json --watch --detectOpenHandles", "test:e2e:github": "cross-env NODE_ENV=github jest --config ./test/jest-e2e.json --detectOpenHandles", - "push:docker:dev": "npm run build:docker:dev && docker push ghcr.io/samgozman/finra-short-api:dev" + "push:docker:dev": "npm run build:docker:dev && docker push ghcr.io/samgozman/finra-short-api:dev", + "push:docker:latest": "npm run build:docker:latest && docker push ghcr.io/samgozman/finra-short-api:latest" }, "repository": { "type": "git",