mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 14:52:02 +00:00
Run travis task with/without buildkit
This commit is contained in:
@@ -102,7 +102,7 @@ RUN echo bar > /test2`))
|
||||
Expect(helpers.Exists(filepath.Join(tmpdir, "output2.tar"))).To(BeTrue())
|
||||
|
||||
artifacts := []ArtifactNode{}
|
||||
if os.Getenv("DOCKER_BUILDKIT") != "" {
|
||||
if os.Getenv("DOCKER_BUILDKIT") == "1" {
|
||||
artifacts = append(artifacts, ArtifactNode{Name: "/etc/resolv.conf", Size: 0})
|
||||
}
|
||||
artifacts = append(artifacts, ArtifactNode{Name: "/test", Size: 4})
|
||||
|
Reference in New Issue
Block a user