Releases: bazel-contrib/rules_oci
Releases · bazel-contrib/rules_oci
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
v0.2.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_oci",
sha256 = "85197657c25b5769664c6413988b415a14d35b6dab1754b00d8ae60019936777",
strip_prefix = "rules_oci-0.2.1",
url = "https://github.com/bazel-contrib/rules_oci/archive/v0.2.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:repositories.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
What's Changed
- Update README.md by @alexeagle in #44
- chore(docs): fix bad html tag appearing in markdown by @alexeagle in #43
- feat: implement cosign_attach by @thesayyn in #45
- Fix typo in example of
oci_image
by @tetsuok in #50 - Cache results per OS by @tetsuok in #51
- feat: allow .tar.gz files as layers by @thesayyn in #56
- refactor: cleanup toolchains by @thesayyn in #57
Full Changelog: v0.2.0...v0.2.1
v0.2.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_oci",
sha256 = "4ba3022f6475df4dbd1b21142f7bcb9bfaf2689a74687536837e1827b6aaddbf",
strip_prefix = "rules_oci-0.2.0",
url = "https://github.com/bazel-contrib/rules_oci/archive/v0.2.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
- chore: rename container -> oci by @alexeagle in #12
- refactor: convert oci_toolchain to crane_toolchain by @thesayyn in #25
- Fix paths to caches for Bazel in CI by @tetsuok in #27
- feat: add zot as the registry by @thesayyn in #26
- feat: implement oci_tarball by @thesayyn in #30
- feat: implement structure_test by @thesayyn in #31
- feat: implement oci_image by @thesayyn in #33
- feat: implement oci_image_index by @thesayyn in #34
- feat: implement oci_cosign by @thesayyn in #36
- feat: implement oci_push by @thesayyn in #38
New Contributors
Full Changelog: v0.1.0...v0.2.0
v0.1.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_container",
sha256 = "96057db9d73096aab7fb84e5d27bbd1feac8a39b0ca488da9c5727830dac7b8e",
strip_prefix = "rules_container-0.1.0",
url = "https://github.com/aspect-build/rules_container/archive/v0.1.0.tar.gz",
)
# Fetches the rules_container 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("@aspect_rules_container//container:repositories.bzl", "rules_container_dependencies")
rules_container_dependencies()
What's Changed
- Mirror release info into versions file by @alexeagle in #1
- chore: clean docs and fix release mirror script by @thesayyn in #2
- wip: collect runfiles by @thesayyn in #3
- build: fix ci build caching by @kormide in #5
- fix: move cache flags out of ci bazelrc by @kormide in #6
- build: move ci cache flags to bazelrc by @kormide in #7
- chore: update to latest changes from template by @alexeagle in #8
New Contributors
- @alexeagle made their first contribution in #1
- @thesayyn made their first contribution in #2
- @kormide made their first contribution in #5
Full Changelog: https://github.com/aspect-build/rules_container/commits/v0.1.0