fix: respect COMPOSE_FILE when loading compose files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Final part of coop-cloud/go-abra#57.
This commit is contained in:
@ -61,7 +61,12 @@ var appVersionCommand = &cli.Command{
|
||||
|
||||
app := appFiles[appName]
|
||||
|
||||
compose, err := config.GetAppComposeFiles(appEnv.Type, appEnv.Env)
|
||||
composeFiles, err := config.GetAppComposeFiles(appEnv.Type, appEnv.Env)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
opts := stack.Deploy{Composefiles: composeFiles}
|
||||
compose, err := config.GetAppComposeConfig(appEnv.Type, opts, appEnv.Env)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user