Skip to content

Commit dacdddf

Browse files
committed
Remove ":latest" suffix from images
Fixes issue for PostgreSQL image where we already use ":alpine" tag
1 parent 80b65b3 commit dacdddf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

magefiles/test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ func testImpl(impl string) (err error) {
114114
// For them we skip the Docker stuff but still execute the tests, which can skip on connection error and we can see the skips in the test results.
115115
if dockerImage != "" {
116116
// Pull Docker image
117-
fmt.Printf("Pulling Docker image %s:latest...", dockerImage)
117+
fmt.Printf("Pulling Docker image %s...", dockerImage)
118118
var out string
119-
out, err = script.Exec("docker pull " + dockerImage + ":latest").String()
119+
out, err = script.Exec("docker pull " + dockerImage).String()
120120
if err != nil {
121121
// Depending on the error, printing the output could be interesting, as it could be more info than what's in err.
122122
fmt.Println(out)

0 commit comments

Comments
 (0)