mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 23:37:07 +00:00
Add ArtifactNode to test, now we get the gen Dockerfile in the diff
This commit is contained in:
@@ -103,7 +103,10 @@ RUN echo bar > /test2`))
|
||||
Expect(b.ImageDefinitionToTar(opts2)).ToNot(HaveOccurred())
|
||||
Expect(helpers.Exists(filepath.Join(tmpdir, "output2.tar"))).To(BeTrue())
|
||||
|
||||
artifacts := []ArtifactNode{}
|
||||
artifacts := []ArtifactNode{{
|
||||
Name: "/luetbuild/LuetDockerfile",
|
||||
Size: 175,
|
||||
}}
|
||||
if os.Getenv("DOCKER_BUILDKIT") == "1" {
|
||||
artifacts = append(artifacts, ArtifactNode{Name: "/etc/resolv.conf", Size: 0})
|
||||
}
|
||||
|
Reference in New Issue
Block a user