Skip to content

Commit

Permalink
chore: try to repro #642
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jul 2, 2024
1 parent 9a32fc2 commit 054fb67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions e2e/smoke/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -14,6 +20,7 @@ oci_image(
env = {
"ENV": "/test",
},
tars = ["my_layer"],
)

tags = [
Expand All @@ -24,6 +31,7 @@ tags = [
oci_load(
name = "load",
image = ":image",
format = "docker",
repo_tags = tags,
)

Expand Down

0 comments on commit 054fb67

Please sign in to comment.