File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
packages/containers/script Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11- To regenerate the JavaScript SDK, run ` ./packages/sdk/js/script/build.ts ` .
22- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.
33- The default branch in this repo is ` dev ` .
4+ - Prefer automation: execute requested actions without confirmation unless blocked by missing info or safety/irreversibility.
45
56## Style Guide
67
Original file line number Diff line number Diff line change @@ -15,9 +15,12 @@ for (const name of images) {
1515 const image = `${ reg } /build/${ name } :${ tag } `
1616 const file = `packages/containers/${ name } /Dockerfile`
1717 const arg = name === "base" ? "" : `--build-arg REGISTRY=${ reg } `
18- const cmd = `docker build -f ${ file } -t ${ image } ${ arg } .`
19- console . log ( cmd )
20- await $ `${ cmd } `
18+ console . log ( `docker build -f ${ file } -t ${ image } ${ arg } .` )
19+ if ( arg ) {
20+ await $ `docker build -f ${ file } -t ${ image } --build-arg REGISTRY=${ reg } .`
21+ } else {
22+ await $ `docker build -f ${ file } -t ${ image } .`
23+ }
2124
2225 if ( push ) {
2326 await $ `docker push ${ image } `
You can’t perform that action at this time.
0 commit comments