Skip to content

Releases: chainguard-dev/rules_apko

v1.5.8

21 Jul 11:02
v1.5.8
4dd7964
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.8")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "6268b5a1717fad49f3b8fd07c6eadf15171e738919bed4cff1ecea36ca4cbf75",
    strip_prefix = "rules_apko-1.5.8",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.8/rules_apko-v1.5.8.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • Update to new apko release by @xnox in #155

Full Changelog: v1.5.7...v1.5.8

v1.5.7

01 Jul 14:03
v1.5.7
6893048
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.7")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "e8a8d904f47e769e692c34b90e6d4c6cca7bb1c735ed26995b2a1ec1530a96ed",
    strip_prefix = "rules_apko-1.5.7",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.7/rules_apko-v1.5.7.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • Upgrade all module dependencies by @xnox in #153

Full Changelog: v1.5.6...v1.5.7

v1.5.6

01 Jul 01:39
v1.5.6
29a2d68
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.6")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "aa525ed9d2e800a268d4612f76daff23fdfaab90d3948e4ff769ab137e6374bf",
    strip_prefix = "rules_apko-1.5.6",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.6/rules_apko-v1.5.6.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • switch to user repo rule by @xnox in #150
  • chore(deps): bump step-security/harden-runner from 2.12.1 to 2.12.2 by @dependabot in #152
  • bcr: add more maintainers by @xnox in #151
  • ci: add bazel 8.3.0 release to the test matrix by @xnox in #144

Full Changelog: v1.5.5...v1.5.6

v1.5.5

30 Jun 12:38
v1.5.5
b280c8f
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.5")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "20839dec388241643e5d2540c78a2e79e4ed26b0a16a676811f3c05e6a4fdda3",
    strip_prefix = "rules_apko-1.5.5",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.5/rules_apko-v1.5.5.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • Merge all runfiles of the Bash runfiles library by @fmeum in #143
  • Update apko to v0.28.0 by @xnox in #146

New Contributors

Full Changelog: v1.5.4...v1.5.5

v1.5.4

19 Jun 00:08
219c188
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.4")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "b85bfc9594407ffa6ceede3fbee3cc67068159592e4f011d5e778739db38f02f",
    strip_prefix = "rules_apko-1.5.4",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.4/rules_apko-v1.5.4.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • chore(deps): bump step-security/harden-runner from 2.11.1 to 2.12.1 by @dependabot in #140
  • chore(deps): bump bazel-contrib/setup-bazel from 0.8.5 to 0.15.0 by @dependabot in #139
  • bcr: update presubmit by @xnox in #141

New Contributors

Full Changelog: v1.5.3...v1.5.4

v1.5.3

13 May 16:38
58f0375
Compare
Choose a tag to compare

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.3")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "ce1a72b9ab45ad0057c715868c7956d98c16d42dc758a5957ed38bb72bd7dc65",
    strip_prefix = "rules_apko-1.5.3",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.3/rules_apko-v1.5.3.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

v1.5.2

13 May 12:48
185d682
Compare
Choose a tag to compare

Important

apko toolchain versions prior to v0.27.6 will no longer be supported as of 1st of June 2026

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.2")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "36eae086e904da6172230e4929f073ceaf73cd51c3141a0fb979183f3aac1138",
    strip_prefix = "rules_apko-1.5.2",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.2/rules_apko-v1.5.2.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • Remove unsupported apko versions by @xnox in #132

Full Changelog: v1.5.1...v1.5.2

v1.5.1

13 May 12:19
1874c77
Compare
Choose a tag to compare

Important

apko toolchain versions prior to v0.27.6 will no longer be supported as of 1st of June 2026

Initial setup (when using with Bazel < 7.1)

rules_apko requires a one-time setup to configure bazel to be able to make partial fetches.

Follow https://github.com/chainguard-dev/rules_apko/blob/main/docs/initial-setup.md for the setup.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_apko", version = "1.5.1")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_apko",
    sha256 = "b53de0dea3a9de1a8efd703954ca078d5337025dcfde8144d70c89b3e9755b4f",
    strip_prefix = "rules_apko-1.5.1",
    url = "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.1/rules_apko-v1.5.1.tar.gz",
)

######################
# rules_apko setup #
######################
# Fetches the rules_apko 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("@rules_apko//apko:repositories.bzl", "apko_register_toolchains", "rules_apko_dependencies")

rules_apko_dependencies()

apko_register_toolchains(name = "apko")

load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")

translate_apko_lock(
    name = "example_lock",
    lock = "@//:apko.lock.json",
)

load("@example_lock//:repositories.bzl", "apko_repositories")

apko_repositories()

translate_apko_lock(
    name = "example_multifile_lock",
    lock = "@//multifile_config:apko.generated.lock.json",
)

load("@example_multifile_lock//:repositories.bzl", multifile_lock_repositories = "apko_repositories")

multifile_lock_repositories()

What's Changed

  • release workflow permissions by @xnox in #133

Full Changelog: v1.5.0...v1.5.1

v1.5.0

13 May 11:37
cc7c8b1
Compare
Choose a tag to compare

Important

apko toolchain versions prior to v0.27.6 will no longer be supported as of 1st of June 2026

What's Changed

  • Remove double bangs by @xnox in #130
  • Fix issue with runfile resolution in apko_run.bzl under bazel 8 by @ed-irl in #108

New Contributors

Full Changelog: v1.4.4...v1.5.0

v1.4.4

13 May 01:15
f4b4d57
Compare
Choose a tag to compare

What's Changed

  • Drop tests on windows and macosx, unsupported by @xnox in #124
  • Update github actions versions by @zmarano in #126
  • Upgrade to latest bazel 6 and 7 by @xnox in #127
  • upgrade again by @xnox in #129

Full Changelog: v1.4.3...v1.4.4