Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency rules_oci to v2.2.1 (#283)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_oci](https://redirect.github.com/bazel-contrib/rules_oci) | bazel_dep | patch | `2.2.0` -> `2.2.1` | --- ### Release Notes <details> <summary>bazel-contrib/rules_oci (rules_oci)</summary> ### [`v2.2.1`](https://redirect.github.com/bazel-contrib/rules_oci/releases/tag/v2.2.1) #### 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 = "2.2.1") ### 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 = "cfea16076ebbec1faea494882ab97d94b1a62d6bcd5aceabad8f95ea0d0a1361", strip_prefix = "rules_oci-2.2.1", url = "https://github.com/bazel-contrib/rules_oci/releases/download/v2.2.1/rules_oci-v2.2.1.tar.gz", ) load("@​rules_oci//oci:dependencies.bzl", "rules_oci_dependencies") rules_oci_dependencies() load("@​rules_oci//oci:repositories.bzl", "oci_register_toolchains") oci_register_toolchains(name = "oci") ### 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 - Fix compatibilty with symbolic macros by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazel-contrib/rules_oci/pull/759](https://redirect.github.com/bazel-contrib/rules_oci/pull/759) - Handle not-logged-in public repos with credsStore by [@​fahhem](https://redirect.github.com/fahhem) in [https://github.com/bazel-contrib/rules_oci/pull/731](https://redirect.github.com/bazel-contrib/rules_oci/pull/731) #### New Contributors - [@​dzbarsky](https://redirect.github.com/dzbarsky) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/759](https://redirect.github.com/bazel-contrib/rules_oci/pull/759) - [@​fahhem](https://redirect.github.com/fahhem) made their first contribution in [https://github.com/bazel-contrib/rules_oci/pull/731](https://redirect.github.com/bazel-contrib/rules_oci/pull/731) **Full Changelog**: bazel-contrib/rules_oci@v2.2.0...v2.2.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/lalten/rules_appimage). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information