allow specifying secrets via env
All checks were successful
/ build-container (push) Successful in 1m49s
All checks were successful
/ build-container (push) Successful in 1m49s
This commit is contained in:
parent
e58fbcba5c
commit
fae2a30a6d
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@ func Load() error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// someday i'll bring a proper config library, until then you get this
|
||||||
|
matrixPassword := os.Getenv("MATRIX_PASSWORD")
|
||||||
|
if matrixPassword != "" {
|
||||||
|
C.Matrix.Password = matrixPassword
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue