Releases: bazel-contrib/rules_oci
Releases · bazel-contrib/rules_oci
v0.6.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "8aa36ae6c8067ff5a837ecb05aeb6396e5a469194b14bf98ff2ddf956ae817ec",
strip_prefix = "rules_oci-0.6.0",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.6.0/rules_oci-v0.6.0.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,
)
What's Changed
- fix: downgrade rules_pkg to 0.7.0 by @thesayyn in #195
- ci: disable macos ci by @thesayyn in #194
- docs: be more clear that you load a tarball target by @alexeagle in #197
- fix: remove duplicate debian target by @thesayyn in #192
- ci: remove upterm action by @thesayyn in #201
- fix: pinning is broken by @thesayyn in #200
- chore: remove structure test by @alexeagle in #182
- docs: add build instruction for rust by @vucong2409 in #173
- fix: take variant into account by @thesayyn in #174
- chore: re-use release automation workflow by @alexeagle in #204
- chore: test on Bazel 6 and Bazel 5 by @alexeagle in #203
- fix: disallow os, arch and variant to be specified with base by @thesayyn in #172
- Fix bug with formatting of repotags in tarball manifest.json [re-do] by @AttilaTheFun in #205
- refactor: make pinning a warning by @thesayyn in #206
- fix: extract image digest raw from yq by @steeve in #208
- Revert "fix: extract image digest raw from yq" by @thesayyn in #210
- Revert "refactor: merge repository into repotags (#169)" by @alexeagle in #213
- test: add missing test case for oci_tarball#repotags by @thesayyn in #209
- fix: port number should be allowed in push by @thesayyn in #215
- refactor: drop rules_pkg dependency by @thesayyn in #207
- test: assert oci_* rules are reproducible by @thesayyn in #214
New Contributors
- @vucong2409 made their first contribution in #173
- @AttilaTheFun made their first contribution in #205
- @steeve made their first contribution in #208
Full Changelog: v0.5.0...v0.6.0
v0.5.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "1c4730c85b90e793679ec534d47878bc19ecc267e43b21cf050081c7fe025af7",
strip_prefix = "rules_oci-0.5.0",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.5.0/rules_oci-v0.5.0.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
- refactor: 1.0 design review cleanups by @alexeagle in #187
- feat: Allow stampable repotags for oci_tarball by @josephglanville in #185
New Contributors
- @josephglanville made their first contribution in #185
Full Changelog: v0.4.0...v0.5.0
v0.4.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_oci",
sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
strip_prefix = "rules_oci-0.4.0",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v0.4.0/rules_oci-v0.4.0.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
- docs(oci_pull): Add note about syntax sugar by @alexeagle in #142
- fix: DOCKER_CONFIG is a dir not file by @thesayyn in #147
- fix: replace crane fallback with curl by @thesayyn in #143
- fix: print an actionable warning when INVALID_MANIFEST encountered by @LavaToaster in #144
- fix: prevent spamming on missing config file by @thesayyn in #145
- fix: auth_config_locator incorrectly reports presence by @thesayyn in #150
- feat: support credStore by @thesayyn in #131
- feat: allow stamping labels/annotations by @alexeagle in #155
- refactor: rename structure_test#config -> configs by @alexeagle in #157
- docs: add placeholders for more languages by @alexeagle in #158
- support pulling from ghcr.io by @LavaToaster in #153
- Update README.md by @alexeagle in #159
- fix: transition a test to explicit arch by @alexeagle in #161
- refactor: oci_pull's in separate macro by @alexeagle in #162
- fix: remove unused toolchain_name attribute by @thesayyn in #164
- syntax sugar for oci_pull by @alexeagle in #163
- fix: fallback to curl on manifest fetch error by @thesayyn in #166
- test(oci_pull): add unit tests for parsing image string by @alexeagle in #167
- fix: remove genrule fetching base image by @thesayyn in #165
- refactor: merge repository into repotags by @thesayyn in #169
- ci: retry auth tests by @thesayyn in #175
New Contributors
- @LavaToaster made their first contribution in #144
Full Changelog: v0.3.9...v0.4.0
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