@@ -34,8 +34,8 @@ const (
3434 BuildCmdExample = `# Build gateway image with policies (uses current directory)
3535ap gateway image build
3636
37- # Build with custom name and version
38- ap gateway image build --name my-gateway --version 1.0.0
37+ # Build with custom name
38+ ap gateway image build --name my-gateway
3939
4040# Build with custom path containing manifest files
4141ap gateway image build --name my-gateway --path ./my-policies --repository myregistry
5252 imageRepository string
5353 gatewayBuilder string
5454 gatewayControllerBaseImg string
55- routerBaseImg string
55+ gatewayRuntimeBaseImg string
5656 push bool
5757 noCache bool
5858 platform string
@@ -116,10 +116,10 @@ func initializeDefaults(manifest *policy.PolicyManifest) error {
116116 gatewayControllerBaseImg = fmt .Sprintf (utils .DefaultGatewayController , gatewayVersion )
117117 }
118118
119- if manifest .Gateway .Images .Router != "" {
120- routerBaseImg = manifest .Gateway .Images .Router
119+ if manifest .Gateway .Images .Runtime != "" {
120+ gatewayRuntimeBaseImg = manifest .Gateway .Images .Runtime
121121 } else {
122- routerBaseImg = fmt .Sprintf (utils .DefaultGatewayRouter , gatewayVersion )
122+ gatewayRuntimeBaseImg = fmt .Sprintf (utils .DefaultGatewayRuntime , gatewayVersion )
123123 }
124124
125125 // Construct the full image tag: repository/name:version
@@ -203,7 +203,7 @@ func runUnifiedBuild() error {
203203 fmt .Println (" Resolved images:" )
204204 fmt .Printf (" • Builder: %s\n " , gatewayBuilder )
205205 fmt .Printf (" • Gateway Controller: %s\n " , gatewayControllerBaseImg )
206- fmt .Printf (" • Router : %s\n \n " , routerBaseImg )
206+ fmt .Printf (" • Gateway Runtime : %s\n \n " , gatewayRuntimeBaseImg )
207207
208208 // Step 3: Validate Manifest and Separate Policies
209209 fmt .Println ("[3/6] Validating manifest" )
@@ -259,9 +259,8 @@ func displayBuildSummary(manifest *policy.PolicyManifest, manifestFilePath strin
259259
260260 // Images built
261261 fmt .Printf ("✓ Built gateway images with %d policies:\n " , len (processed ))
262- fmt .Printf (" • %s/%s-policy-engine :%s\n " , imageRepository , gatewayName , gatewayVersion )
262+ fmt .Printf (" • %s/%s-gateway-runtime :%s\n " , imageRepository , gatewayName , gatewayVersion )
263263 fmt .Printf (" • %s/%s-gateway-controller:%s\n " , imageRepository , gatewayName , gatewayVersion )
264- fmt .Printf (" • %s/%s-router:%s\n " , imageRepository , gatewayName , gatewayVersion )
265264 fmt .Println ()
266265
267266 // Where images are
@@ -310,7 +309,7 @@ func runDockerBuild() error {
310309 TempDir : tempGatewayImageBuildDir ,
311310 GatewayBuilder : gatewayBuilder ,
312311 GatewayControllerBaseImage : gatewayControllerBaseImg ,
313- RouterBaseImage : routerBaseImg ,
312+ GatewayRuntimeBaseImage : gatewayRuntimeBaseImg ,
314313 ImageRepository : imageRepository ,
315314 GatewayName : gatewayName ,
316315 GatewayVersion : gatewayVersion ,
0 commit comments