Skip to content
Snippets Groups Projects
Verified Commit d28ee642 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: ci pipeline

parent fbef31db
Branches
Tags
No related merge requests found
......@@ -16,7 +16,7 @@ import (
func startTestSMTPDockerImageAndContainer(t *testing.T, host string, port string, ctx context.Context) error {
t.Helper()
cli, err := client.NewClientWithOpts(client.WithVersion("1.41"))
cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
if err != nil {
return err
}
......
......@@ -17,7 +17,7 @@ import (
func startSFTPTestDockerImageAndContainer(t *testing.T, host string, port string, volume string, ctx context.Context) error {
t.Helper()
cli, err := client.NewClientWithOpts(client.WithVersion("1.41"))
cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
if err != nil {
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment