@@ -263,11 +263,11 @@ func pushModulesTags(mirrorCtx *contexts.BaseContext, modulesList []string) erro
263
263
264
264
func findLayoutsToPush (mirrorCtx * contexts.PushContext ) (map [string ]layout.Path , []string , error ) {
265
265
deckhouseIndexRef := mirrorCtx .RegistryHost + mirrorCtx .RegistryPath
266
- installersIndexRef := filepath .Join (deckhouseIndexRef , "install" )
267
- releasesIndexRef := filepath .Join (deckhouseIndexRef , "release-channel" )
268
- trivyDBIndexRef := filepath .Join (deckhouseIndexRef , "security" , "trivy-db" )
269
- trivyBDUIndexRef := filepath .Join (deckhouseIndexRef , "security" , "trivy-bdu" )
270
- trivyJavaDBIndexRef := filepath .Join (deckhouseIndexRef , "security" , "trivy-java-db" )
266
+ installersIndexRef := path .Join (deckhouseIndexRef , "install" )
267
+ releasesIndexRef := path .Join (deckhouseIndexRef , "release-channel" )
268
+ trivyDBIndexRef := path .Join (deckhouseIndexRef , "security" , "trivy-db" )
269
+ trivyBDUIndexRef := path .Join (deckhouseIndexRef , "security" , "trivy-bdu" )
270
+ trivyJavaDBIndexRef := path .Join (deckhouseIndexRef , "security" , "trivy-java-db" )
271
271
272
272
deckhouseLayoutPath := mirrorCtx .UnpackedImagesPath
273
273
installersLayoutPath := filepath .Join (mirrorCtx .UnpackedImagesPath , "install" )
@@ -327,8 +327,8 @@ func findLayoutsToPush(mirrorCtx *contexts.PushContext) (map[string]layout.Path,
327
327
328
328
moduleName := dir .Name ()
329
329
modulesNames = append (modulesNames , moduleName )
330
- moduleRef := filepath .Join (mirrorCtx .RegistryHost + mirrorCtx .RegistryPath , "modules" , moduleName )
331
- moduleReleasesRef := filepath .Join (mirrorCtx .DeckhouseRegistryRepo , "modules" , moduleName , "release" )
330
+ moduleRef := path .Join (mirrorCtx .RegistryHost + mirrorCtx .RegistryPath , "modules" , moduleName )
331
+ moduleReleasesRef := path .Join (mirrorCtx .DeckhouseRegistryRepo , "modules" , moduleName , "release" )
332
332
moduleLayout , err := layout .FromPath (filepath .Join (modulesPath , moduleName ))
333
333
if err != nil {
334
334
return nil , nil , fmt .Errorf ("create module layout from path: %w" , err )
0 commit comments