build: include env vars in `docker:release:build`

pull/3/head 1.0.2
sgoudham 1 year ago
parent a92c26d681
commit d3a51a3374
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -9,7 +9,7 @@
"lint": "next lint",
"docker:preview:build": "docker build --secret id=REPOS_READ_ONLY --build-arg='NEXT_PUBLIC_IS_PREVIEW=1' --build-arg='NEXT_PUBLIC_BUILD_SHA=5266152' --build-arg='NEXT_PUBLIC_BUILD_ID=4716419565' --build-arg='NEXT_PUBLIC_BUILD_NUM=1' -t website-preview .",
"docker:preview": "yarn docker:preview:build && docker run --rm -it -p 3000:3000 --name website website-preview:latest",
"docker:release:build": "docker build --secret id=REPOS_READ_ONLY -t website-release .",
"docker:release:build": "docker build --secret id=REPOS_READ_ONLY --build-arg='NEXT_PUBLIC_BUILD_SHA=5266152' --build-arg='NEXT_PUBLIC_BUILD_ID=4716419565' --build-arg='NEXT_PUBLIC_BUILD_NUM=1' -t website-release .",
"docker:release": "yarn docker:release:build && docker run --rm -it -p 3000:3000 --name website website-release:latest"
},
"dependencies": {

Loading…
Cancel
Save