mirror of
https://github.com/containers/podman.git
synced 2025-06-19 16:33:24 +08:00
Add fix for an issue breaking our CI
Buildah no longer updates the create time of single-action images (e.g. `FROM ...` with no other instructions. This isn't a bug (it matches Docker's behavior), but it broke one of our tests. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -169,12 +169,13 @@ var _ = Describe("Podman images", func() {
|
||||
Skip("Does not work on remote client")
|
||||
}
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
RUN apk update && apk add man
|
||||
`
|
||||
podmanTest.BuildImage(dockerfile, "foobar.com/before:latest", "false")
|
||||
result := podmanTest.Podman([]string{"images", "-q", "-f", "before=foobar.com/before:latest"})
|
||||
result.WaitWithDefaultTimeout()
|
||||
Expect(result.ExitCode()).To(Equal(0))
|
||||
Expect(len(result.OutputToStringArray())).To(Equal(1))
|
||||
Expect(len(result.OutputToStringArray()) >= 1).To(BeTrue())
|
||||
})
|
||||
|
||||
It("podman images filter after image", func() {
|
||||
|
Reference in New Issue
Block a user