e2e: add docker v29-rc

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-15 02:12:34 +02:00
parent cdaae144e9
commit 5d599e9322
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,7 @@ jobs:
- alpine
- debian
engine-version:
- 29-rc # latest rc
- 28 # latest
- 27 # latest - 1
- 25 # mirantis lts

View File

@ -3,6 +3,8 @@ package image
import (
"testing"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/icmd"
)
@ -10,6 +12,7 @@ func TestPushQuietErrors(t *testing.T) {
result := icmd.RunCmd(icmd.Command("docker", "push", "--quiet", "nosuchimage"))
result.Assert(t, icmd.Expected{
ExitCode: 1,
Err: "An image does not exist locally with the tag: nosuchimage",
})
assert.Check(t, is.Contains(result.Stderr(), "does not exist"))
assert.Check(t, is.Contains(result.Stderr(), "nosuchimage"))
}