Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scala.md: oci_tarball was renamed #728

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/scala.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ oci_image(
Finally, create a tarball from `oci_image` that can be loaded by a runtime such as docker. We specify `repo_tags` so that the image can be loaded by a registry.

```python
load("@rules_oci//oci:defs.bzl", "oci_tarball")
load("@rules_oci//oci:defs.bzl", "oci_load")

oci_tarball(
name = "tarball",
oci_load(
name = "load",
image = ":image",
repo_tags = ["my-repository:latest"],
)
Expand All @@ -169,7 +169,7 @@ oci_tarball(
Test if it works:

```shell
$ bazel run //:tarball
$ bazel run //:load
...
$ docker run --rm my-repository:latest
Hello, world!
Expand Down
Loading