Releases: bazel-contrib/rules_oci
Releases · bazel-contrib/rules_oci
v0.3.9
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "f6125c9a123a2ac58fb6b13b4b8d4631827db9cfac025f434bbbefbd97953f7c",
strip_prefix = "rules_oci-0.3.9",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.9/rules_oci-v0.3.9.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_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,
)
# Optional, for oci_tarball rule
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
What's Changed
- chore: no windows test yet by @alexeagle in #120
- chore: bump rules_pkg to 0.9.0 by @alexeagle in #128
- Update WORKSPACE.bazel by @alexeagle in #130
- fix: pulling from public ecr by @thesayyn in #136
- Support OCI media types on pull in addition to docker media types by @bcmyers in #137
- feat: allow specifying protocol by @thesayyn in #133
Full Changelog: v0.3.8...v0.3.9
v0.3.8
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "4a738bdbeacb0e1df070209dddfa7b55fed9bbc553b905cf3d2dd25115e0b598",
strip_prefix = "rules_oci-0.3.8",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.8/rules_oci-v0.3.8.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
# If a docker media types compatible registry is desired, just omit `zot_version` and crane registry will be used instead.
zot_version = LATEST_ZOT_VERSION,
)
# Optional, for oci_tarball rule
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
What's Changed
- refactor: rename x86_64 to amd64 by @thesayyn in #114
- feat: implement auth for oci_pull by @thesayyn in #115
- chore(bzlmod): add trivial pass-through module extension for oci_pull by @alexeagle in #118
- chore: update docs by @alexeagle in #119
Full Changelog: v0.3.7...v0.3.8
v0.3.7
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "48642588e91e992772b94de06234da6601854fda0ee32a91ce8ef303cf5e5837",
strip_prefix = "rules_oci-0.3.7",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.7/rules_oci-v0.3.7.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
# If a docker media types compatible registry is desired, just omit `zot_version` and crane registry will be used instead.
zot_version = LATEST_ZOT_VERSION,
)
# Optional, for oci_tarball rule
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
What's Changed
- chore: mirror new crane version by @alexeagle in #102
- fix: correct typo in error message by @mgred in #106
- feat: support crane registry serve as an alternative by @thesayyn in #104
- chore: fix red CI by @alexeagle in #110
- chore: add e2e test for crane as registry by @thesayyn in #109
New Contributors
Full Changelog: v0.3.6...v0.3.7
v0.3.6
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "e308cf772758532f533edacd55eb83a2608a11f124c1599bb0b004727316fda1",
strip_prefix = "rules_oci-0.3.6",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.6/rules_oci-v0.3.6.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
zot_version = LATEST_ZOT_VERSION,
)
# Optional, for oci_tarball rule
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
What's Changed
- chore: fixup docs links by @gregmagolan in #96
- fix: structure test platform keys include .exe suffix on windows by @alexeagle in #98
New Contributors
- @gregmagolan made their first contribution in #96
Full Changelog: v0.3.5...v0.3.6
v0.3.5
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "9162dc8752504e5c5204851528f6a13739f8c9f5e761d1b0fc4a1b2f4c96d07e",
strip_prefix = "rules_oci-0.3.5",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.5/rules_oci-v0.3.5.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
zot_version = LATEST_ZOT_VERSION,
)
# Optional, for oci_tarball rule
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
What's Changed
- feat: support the driver argument of container-test by @alexeagle in #94
- chore: don't use symlink for e2e bazelrc by @alexeagle in #95
Full Changelog: v0.3.4...v0.3.5
v0.3.4
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "31ce886bb530132e5307f9195f6f08a1bb2aa07d541f436dd9429bad265eae4b",
strip_prefix = "rules_oci-0.3.4",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.4/rules_oci-v0.3.4.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
zot_version = LATEST_ZOT_VERSION,
)
What's Changed
- chore: configure Publish to BCR app by @alexeagle in #91
- stamping for tags by @alexeagle in #70
- fix: rust does not have a 2022 edition by @bcmyers in #92
New Contributors
Full Changelog: v0.3.3...v0.3.4
v0.3.3
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "4f119dc9e08319a3262c04b334bda54ba0484ca34f8ead706dd2397fc11816f7",
strip_prefix = "rules_oci-0.3.3",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.3/rules_oci-v0.3.3.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
zot_version = LATEST_ZOT_VERSION,
)
What's Changed
- feat: bzlmod by @alexeagle in #61
- chore: remove contrib_ prefix from ruleset name by @alexeagle in #90
Full Changelog: v0.3.2...v0.3.3
v0.3.2
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_oci",
sha256 = "d6bdc1767d326c67b4cbdc79abfed00c8a4ca14b92adea9faf3db4710d514596",
strip_prefix = "rules_oci-0.3.2",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.2/rules_oci-v0.3.2.tar.gz",
)
load("@contrib_rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@contrib_rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "LATEST_ZOT_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
zot_version = LATEST_ZOT_VERSION,
)
What's Changed
- chore: point to js example in rules_js by @alexeagle in #80
- docs: README index of API by @alexeagle in #86
- fix: include attachment in the runfiles by @thesayyn in #84
- fix: use digest when loading image unto daemon by @thesayyn in #79
- ci: update release workflow by @thesayyn in #88
- refactor: rename attach to attest by @thesayyn in #89
Full Changelog: v0.3.1...v0.3.2
v0.3.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_oci",
sha256 = "929da1362e27dc38206a116783d2b3efb95bcb165bdbc62a8190013e612a9b51",
strip_prefix = "rules_oci-0.3.1",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.1/rules_oci-v0.3.1.tar.gz",
)
# Fetches the rules_oci 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("@contrib_rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
What's Changed
- docs: add example for wasm containers by @thesayyn in #81
- chore: update cosign versions by @thesayyn in #82
- FIX: Github Workflows Release template by @mmogylenko in #83
New Contributors
- @mmogylenko made their first contribution in #83
Full Changelog: v0.3.0...v0.3.1
v0.3.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_oci",
sha256 = "d11b6e5646c4897fde03e7704ab97305691d871fb8d9e09443384122582e70ff",
strip_prefix = "rules_oci-0.3.0",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.3.0/rules_oci-v0.3.0.tar.gz",
)
# Fetches the rules_oci 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("@contrib_rules_oci//oci:repositories.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
What's Changed
- fix: url to download bazel-skylib by @tetsuok in #64
- release: publish release artifact by @alexeagle in #62
- chore: rename example to examples by @alexeagle in #66
- oci_pull repo rule: fetch base layers with bazel downloader by @alexeagle in #67
- fix hard-coded mediaType by @alexeagle in #75
- Add labels to oci_image by @psalaberria002 in #76
- chore: add an example for custom registry by @thesayyn in #71
- feat: demonstrate a replacement for go_image by @alexeagle in #77
- chore: add structure_test for custom registry example by @alexeagle in #78
New Contributors
- @psalaberria002 made their first contribution in #76
Full Changelog: v0.2.1...v0.3.0