diff --git a/e2e/smoke/BUILD.bazel b/e2e/smoke/BUILD.bazel index 58209f9c..1b015907 100644 --- a/e2e/smoke/BUILD.bazel +++ b/e2e/smoke/BUILD.bazel @@ -1,8 +1,14 @@ +load("@aspect_bazel_lib//lib:tar.bzl", "tar") load("@aspect_bazel_lib//lib:testing.bzl", "assert_json_matches") load("@bazel_skylib//rules:write_file.bzl", "write_file") load("@container_structure_test//:defs.bzl", "container_structure_test") load("@rules_oci//oci:defs.bzl", "oci_image", "oci_load") +tar( + name = "my_layer", + srcs = ["test.yaml"], +) + oci_image( name = "image", base = "@distroless_base", @@ -14,6 +20,7 @@ oci_image( env = { "ENV": "/test", }, + tars = ["my_layer"], ) tags = [ @@ -24,6 +31,7 @@ tags = [ oci_load( name = "load", image = ":image", + format = "docker", repo_tags = tags, )