@@ -180,7 +180,7 @@ func buildFunc(cmd *cobra.Command, args []string) {
180
180
cfg := & input.Config {
181
181
Repo : projutil .CheckAndGetCurrPkg (),
182
182
AbsProjectPath : absProjectPath ,
183
- ProjectName : filepath .Base (wd ),
183
+ ProjectName : filepath .Base (absProjectPath ),
184
184
}
185
185
186
186
s := & scaffold.Scaffold {}
@@ -201,14 +201,14 @@ func buildFunc(cmd *cobra.Command, args []string) {
201
201
"-f" , testDockerfile ,
202
202
"-t" , image ,
203
203
"--build-arg" , "TESTDIR=" + testLocationBuild ,
204
- "--build-arg" , "BASEIMAGE=" + baseImageName ,
204
+ "--build-arg" , "BASEIMAGE=" + baseImageName ,
205
205
"--build-arg" , "NAMESPACEDMAN=" + namespacedManBuild )
206
206
} else {
207
207
testBuildCmd = exec .Command ("docker" , "build" , "." ,
208
208
"-f" , testDockerfile ,
209
209
"-t" , image ,
210
210
"--build-arg" , "TESTDIR=" + testLocationBuild ,
211
- "--build-arg" , "BASEIMAGE=" + baseImageName ,
211
+ "--build-arg" , "BASEIMAGE=" + baseImageName ,
212
212
"--build-arg" , "NAMESPACEDMAN=" + namespacedManBuild )
213
213
}
214
214
o , err = testBuildCmd .CombinedOutput ()
0 commit comments