chore(deps): updated testcontainers-go to version v0.12.0 (#1822)

This commit is contained in:
DmitriyLewen
2022-03-14 18:13:29 +06:00
committed by GitHub
parent 12ca3ca6da
commit 18842fbe04
3 changed files with 12 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ func setupRegistry(ctx context.Context, baseDir string, authURL *url.URL) (testc
"REGISTRY_AUTH_TOKEN_AUTOREDIRECT": "false",
},
BindMounts: map[string]string{
filepath.Join(baseDir, "data", "certs"): "/certs",
"/certs": filepath.Join(baseDir, "data", "certs"),
},
SkipReaper: true,
AutoRemove: true,
@@ -78,8 +78,8 @@ func setupAuthServer(ctx context.Context, baseDir string) (testcontainers.Contai
Image: authImage,
ExposedPorts: []string{authPort},
BindMounts: map[string]string{
filepath.Join(baseDir, "data", "auth_config"): "/config",
filepath.Join(baseDir, "data", "certs"): "/certs",
"/config": filepath.Join(baseDir, "data", "auth_config"),
"/certs": filepath.Join(baseDir, "data", "certs"),
},
SkipReaper: true,
AutoRemove: true,