File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
packages/cli/src/commands/compute/app Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,12 @@ export default class AppDeploy extends Command {
129129 description : "Dependency digests for verifiable build (git source mode) (sha256:...)" ,
130130 multiple : true ,
131131 } ) ,
132+ "build-caddyfile" : Flags . string ( {
133+ description :
134+ "Optional path to Caddyfile inside the repo (relative to build context). If omitted, auto-detected from env file TLS settings" ,
135+ required : false ,
136+ env : "ECLOUD_BUILD_CADDYFILE" ,
137+ } ) ,
132138 } ;
133139
134140 async run ( ) {
@@ -228,7 +234,7 @@ export default class AppDeploy extends Command {
228234 repoUrl : flags . repo ! ,
229235 gitRef : flags . commit ! ,
230236 dockerfilePath : flags [ "build-dockerfile" ] ,
231- caddyfilePath : undefined ,
237+ caddyfilePath : flags [ "build-caddyfile" ] ,
232238 buildContextPath : flags [ "build-context" ] ,
233239 dependencies : flags [ "build-dependencies" ] ,
234240 }
Original file line number Diff line number Diff line change @@ -107,6 +107,12 @@ export default class AppUpgrade extends Command {
107107 description : "Dependency digests for verifiable build (git source mode) (sha256:...)" ,
108108 multiple : true ,
109109 } ) ,
110+ "build-caddyfile" : Flags . string ( {
111+ description :
112+ "Optional path to Caddyfile inside the repo (relative to build context). If omitted, auto-detected from env file TLS settings" ,
113+ required : false ,
114+ env : "ECLOUD_BUILD_CADDYFILE" ,
115+ } ) ,
110116 } ;
111117
112118 async run ( ) {
@@ -188,7 +194,7 @@ export default class AppUpgrade extends Command {
188194 repoUrl : flags . repo ! ,
189195 gitRef : flags . commit ! ,
190196 dockerfilePath : flags [ "build-dockerfile" ] ,
191- caddyfilePath : undefined ,
197+ caddyfilePath : flags [ "build-caddyfile" ] ,
192198 buildContextPath : flags [ "build-context" ] ,
193199 dependencies : flags [ "build-dependencies" ] ,
194200 }
You can’t perform that action at this time.
0 commit comments