Fix name generation with "." and "/"
This commit is contained in:
@@ -73,7 +73,8 @@ func parseService(name string, s *compose.Service, ret chan interface{}) {
|
|||||||
for _, envfile := range s.EnvFiles {
|
for _, envfile := range s.EnvFiles {
|
||||||
f := strings.ReplaceAll(envfile, "_", "-")
|
f := strings.ReplaceAll(envfile, "_", "-")
|
||||||
f = strings.ReplaceAll(f, ".env", "")
|
f = strings.ReplaceAll(f, ".env", "")
|
||||||
f = strings.ReplaceAll(f, ".", "-")
|
f = strings.ReplaceAll(f, ".", "")
|
||||||
|
f = strings.ReplaceAll(f, "/", "")
|
||||||
cf := f + "-" + name
|
cf := f + "-" + name
|
||||||
isSecret := false
|
isSecret := false
|
||||||
for _, s := range secretsFiles {
|
for _, s := range secretsFiles {
|
||||||
|
Reference in New Issue
Block a user