Skip to content

Commit

Permalink
chore: upgrade regctl
Browse files Browse the repository at this point in the history
Also opt-in to Bazel 8 repo naming with plus rather than tilde

Fixes #738
  • Loading branch information
alexeagle committed Dec 11, 2024
1 parent 8903513 commit 2ee734e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ build --incompatible_strict_action_env
build --nolegacy_external_runfiles
common --test_env=DOCKER_HOST --action_env=DOCKER_HOST --repo_env=DOCKER_HOST

# Prepare for Bazel 8
common --incompatible_use_plus_in_repo_names

# Disable bzlmod lockfile
common --lockfile_mode=off

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
7.1.1
7.4.1

# The first line of this file is used by Bazelisk and Bazel to be sure
# the right version of Bazel is used to build and test this repo.
Expand Down
9 changes: 9 additions & 0 deletions oci/private/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ CRANE_VERSIONS = {
}

REGCTL_VERSIONS = {
"v0.8.0": {
"darwin-amd64": "sha256-RHuyX4G1Sk1plj0spLmK476+Jljk/fqh3oOAvCzCwuw=",
"darwin-arm64": "sha256-jUzYxiyhtoeh4clFm8kdLfkzmHkk65+YksB/eBJAqJU=",
"linux-amd64": "sha256-Inbt7loeXLibtORI5dAjVkrNbYSlQZzJL/Ji2F37jpo=",
"linux-arm64": "sha256-6cXL+dpQUoQgkcNiG0k+piHw/+G3KqdrYLa1/haquN4=",
"linux-ppc64le": "sha256-0w0qwWCpx97Ew2quFz9IBuHi4ZwoSj41oFLxco2/v3g=",
"linux-s390x": "sha256-mtTFWhB0BcWANbF3RSdk12pVcwtkg7RKkC7mwyHyV5U=",
"windows-amd64": "sha256-OaMBqF3M/kedW1bVI4GLuwDW3jzjT8Ujn7CtPkT+inc=",
},
"v0.7.0": {
"darwin-amd64": "sha256-QH7AeVJi/Ehn09yCVDq1qWvO6VBwquAFV6uPQyX5DDQ=",
"darwin-arm64": "sha256-QTr9nUPdjknzYTnOgfKG32C2id3aPngG82V7zLOWQL8=",
Expand Down
2 changes: 1 addition & 1 deletion oci/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ regctl_toolchain(
regctl = "regctl{ext}",
)
"""
REGCTL_VERSION = "v0.7.0"
REGCTL_VERSION = "v0.8.0"

REGCTL_PLATFORMS = {
name: platform
Expand Down

0 comments on commit 2ee734e

Please sign in to comment.