Skip to content

v0.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Sep 19:11

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_buildx", version = "0.0.1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_buildx",
    sha256 = "3d54506a78861602008876e333d7ce6af315758dc72421470cace5d7e3b783e8",
    strip_prefix = "rules_buildx-0.0.1",
    url = "https://github.com/thesayyn/rules_buildx/releases/download/v0.0.1/rules_buildx-v0.0.1.tar.gz",
)

######################
# rules_buildx setup #
######################
# Fetches the rules_buildx dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.

load("@aspect_rules_buildx//buildx:dependencies.bzl", "rules_buildx_dependencies")

rules_buildx_dependencies()

load("@aspect_rules_buildx//buildx:repositories.bzl", "buildx_register_toolchains")

buildx_register_toolchains()

What's Changed

  • fix: add arch_dependent and os_dependent flags to buildx module exten… by @pulasthibandara in #1

New Contributors

Full Changelog: https://github.com/aspect-build/rules_buildx/commits/v0.0.1