Skip to content

v0.3.25

Choose a tag to compare

@github-actions github-actions released this 10 Nov 12:24
· 8 commits to main since this release
783441b

Using Bzlmod

Add the following to your MODULE.bazel file:

bazel_dep(name = "rules_img", version = "0.3.25")

For further instructions, see the README.

Using WORKSPACE

Add the following to your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_img",
    sha256 = "3fcc8fc63df8b593dcc4f6208186d0cf0fc05f5edbfbe95ba44c05d4eb8ff7bf",
    urls = ["https://github.com/bazel-contrib/rules_img/releases/download/v0.3.25/rules_img-v0.3.25.tar.gz"],
)

# Load dependencies
load("@rules_img//img:dependencies.bzl", "rules_img_dependencies")
rules_img_dependencies()

# Initialize Bazel Features
load("@bazel_features//:deps.bzl", "bazel_features_deps")

# Register prebuilt toolchains
load("@rules_img//img:repositories.bzl", "img_register_prebuilt_toolchains")
img_register_prebuilt_toolchains()
register_toolchains("@img_toolchain//:all")

# Register hermetic launcher toolchains
register_toolchains("@hermetic_launcher//launcher/private/prebuilt:all")

# Example: Pull a base image
load("@rules_img//img:pull.bzl", "pull")
pull(
    name = "alpine",
    digest = "sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1",
    registry = "index.docker.io",
    repository = "library/alpine",
    tag = "3.22",
)

For more examples, see the README.

What's Changed

  • fix(e2e): keep the multi_push_specs fixtures out of the aggregate deploy by @malt3 in #865
  • chore(bcr): stop testing img_tool on Intel macOS, move to Bazel 9 by @malt3 in #864
  • ci: route downloads through the BuildBuddy Remote Asset API by @malt3 in #868
  • fix(push): read the sharded cas-dir layout in img push blob by @malt3 in #866
  • feat(layer): add tar_end_of_archive setting to terminate tar layers by @malt3 in #867
  • fix(push): honor destination_file for push at build time by @rafikk in #869
  • fix(load): upgrade docker loads only if docker uses containerd by @sin-ack in #871
  • feat(load): support destination_file for image_load by @malt3 in #873
  • feat(push): add validate_cas_blobs to keep deploy blobs in the cache by @malt3 in #872
  • feat(layer): add ISO 9660 as a layer format by @malt3 in #874
  • prepare 0.3.25 by @malt3 in #875

New Contributors

Full Changelog: v0.3.24...v0.3.25