Skip to content

Commit 2649d39

Browse files
docker build locally because gcr.io/kustomize-functions/e2econtainerconfig doesn't exist in the public
1 parent faab836 commit 2649d39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/krusty/fnplugin_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,9 @@ metadata:
589589
container:
590590
image: "gcr.io/kustomize-functions/e2econtainerconfig"
591591
`)
592+
build := exec.Command("docker", "build", ".", "-t", "gcr.io/kustomize-functions/e2econtainerconfig")
593+
build.Dir = "../../cmd/config/internal/commands/e2e/e2econtainerconfig"
594+
assert.NoError(t, build.Run())
592595
m := th.Run(tmpDir.String(), o)
593596
actual, err := m.AsYaml()
594597
assert.NoError(t, err)

0 commit comments

Comments
 (0)