Closed renovate[bot] closed 3 weeks ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
This PR contains the following updates:
v1.7.6
->v1.8.0
Release Notes
bazel-contrib/rules_oci (rules_oci)
### [`v1.8.0`](https://togithub.com/bazel-contrib/rules_oci/releases/tag/v1.8.0) [Compare Source](https://togithub.com/bazel-contrib/rules_oci/compare/v1.7.6...v1.8.0) #### Using bzlmod with Bazel 6 or later: 1. Add `common --enable_bzlmod` to `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_oci", version = "1.8.0") ### For testing, we also recommend https://registry.bazel.build/modules/container_structure_test oci = use_extension("@rules_oci//oci:extensions.bzl", "oci") ### Declare external images you need to pull, for example: oci.pull( name = "distroless_base", ### 'latest' is not reproducible, but it's convenient. ### During the build we print a WARNING message that includes recommended 'digest' and 'platforms' ### values which you can use here in place of 'tag' to pin for reproducibility. tag = "latest", image = "gcr.io/distroless/base", platforms = ["linux/amd64"], ) ### For each oci.pull call, repeat the "name" here to expose them as dependencies. use_repo(oci, "distroless_base") ``` #### Using WORKSPACE: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_oci", sha256 = "46ce9edcff4d3d7b3a550774b82396c0fa619cc9ce9da00c1b09a08b45ea5a14", strip_prefix = "rules_oci-1.8.0", url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.8.0/rules_oci-v1.8.0.tar.gz", ) load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies") rules_oci_dependencies() load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "oci_register_toolchains") oci_register_toolchains( name = "oci", crane_version = LATEST_CRANE_VERSION, ### Uncommenting the zot toolchain will cause it to be used instead of crane for some tasks. ### Note that it does not support docker-format images. ### zot_version = LATEST_ZOT_VERSION, ) ### You can pull your base images using oci_pull like this: load("@rules_oci//oci:pull.bzl", "oci_pull") oci_pull( name = "distroless_base", digest = "sha256:ccaef5ee2f1850270d453fdf700a5392534f8d1a8ca2acda391fbb6a06b81c86", image = "gcr.io/distroless/base", platforms = [ "linux/amd64", "linux/arm64", ], ) ``` #### What's Changed - \--unwrapScalar for yq cmd by [@kczulko](https://togithub.com/kczulko) in [https://github.com/bazel-contrib/rules_oci/pull/594](https://togithub.com/bazel-contrib/rules_oci/pull/594) - Use a transition to resolve the correct versions of crane and yq by [@EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazel-contrib/rules_oci/pull/590](https://togithub.com/bazel-contrib/rules_oci/pull/590) - Add import_tags attribute to oci_pull by [@steve-261370](https://togithub.com/steve-261370) in [https://github.com/bazel-contrib/rules_oci/pull/573](https://togithub.com/bazel-contrib/rules_oci/pull/573) - fix: Support global credsStore in docker config by [@msiebuhr](https://togithub.com/msiebuhr) in [https://github.com/bazel-contrib/rules_oci/pull/602](https://togithub.com/bazel-contrib/rules_oci/pull/602) - Document how to use rules_oci with scala by [@lukaszwawrzyk](https://togithub.com/lukaszwawrzyk) in [https://github.com/bazel-contrib/rules_oci/pull/630](https://togithub.com/bazel-contrib/rules_oci/pull/630) - feat(oci_pull): expose the digest as a file by [@aignas](https://togithub.com/aignas) in [https://github.com/bazel-contrib/rules_oci/pull/542](https://togithub.com/bazel-contrib/rules_oci/pull/542) - feat: provide affordance for OCIImage actions to reserve more resources by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/bazel-contrib/rules_oci/pull/650](https://togithub.com/bazel-contrib/rules_oci/pull/650) #### New Contributors - [@EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/590](https://togithub.com/bazel-contrib/rules_oci/pull/590) - [@steve-261370](https://togithub.com/steve-261370) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/573](https://togithub.com/bazel-contrib/rules_oci/pull/573) - [@msiebuhr](https://togithub.com/msiebuhr) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/602](https://togithub.com/bazel-contrib/rules_oci/pull/602) - [@lukaszwawrzyk](https://togithub.com/lukaszwawrzyk) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/630](https://togithub.com/bazel-contrib/rules_oci/pull/630) - [@aignas](https://togithub.com/aignas) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/542](https://togithub.com/bazel-contrib/rules_oci/pull/542) **Full Changelog**: https://github.com/bazel-contrib/rules_oci/compare/v1.7.6...v1.8.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.