fix(cd): use build-push-action-v2 with default Dockerfile
This commit is contained in:
parent
e830611af1
commit
012df60679
2 changed files with 28 additions and 12 deletions
|
@ -137,6 +137,10 @@ func initDeps(cfg gocfg.ICfg) *depidx.Deps {
|
|||
ider := simpleidgen.New()
|
||||
filesystem := local.NewLocalFS(rootPath, 0660, opensLimit, openTTL, readerTTL, ider)
|
||||
jwtEncDec := jwt.NewJWTEncDec(secret)
|
||||
|
||||
if err := filesystem.MkdirAll(dbPath); err != nil {
|
||||
panic(fmt.Sprintf("fail to create path for db: %s", err))
|
||||
}
|
||||
kv := boltdbpvd.New(dbPath, 1024)
|
||||
users, err := userstore.NewKVUserStore(kv)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue