Skip to content

Commit

Permalink
Use oci_load instead of oci_tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Nov 1, 2024
1 parent d60a4d3 commit 31096a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/toolchains/cc_cross_osx_to_linux_amd64/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("@rules_oci//oci:defs.bzl", "oci_image", "oci_tarball")
load("@rules_oci//oci:defs.bzl", "oci_image", "oci_load")
load("@rules_pkg//:pkg.bzl", "pkg_tar")

cc_binary(
Expand All @@ -26,8 +26,8 @@ oci_image(
entrypoint = ["/app/hello"],
)

oci_tarball(
oci_load(
name = "hello_image_tarball",
image = ":hello_image",
repo_tags = ["cross_example:latest"],
)
)

0 comments on commit 31096a9

Please sign in to comment.