Skip to content

Commit

Permalink
build: include env vars in docker:release:build
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Aug 14, 2023
1 parent a92c26d commit d3a51a3
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 @@ -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": {
Expand Down

0 comments on commit d3a51a3

Please sign in to comment.