chainguard-dev/rules_apko

Release version 1.3.0 to BCR

Opened this issue · 3 comments

A workaround, until this is fixed, is to add this to MODULE.bazel:

bazel_dep(name = "rules_apko", version = "1.3.0")

archive_override(
    module_name = "rules_apko",
    integrity = "sha256-++EunVeKUUy/shvxDcGCdpvOsIVC69M9nuVgvSgK4HI=",
    strip_prefix = "rules_apko-1.3.0",
    urls = [
        "https://github.com/chainguard-dev/rules_apko/releases/download/v1.3.0/rules_apko-v1.3.0.tar.gz"
    ],
)

(Edit: added missing strip_prefix)

Does not work for me
ERROR: MODULE.bazel expected but not found at /private/var/tmp/_bazel_farcop/e66529431dbede3bc951f821053136ab/external/rules_apko~/MODULE.bazel: /private/var/tmp/_bazel_farcop/e66529431dbede3bc951f821053136ab/external/rules_apko~/MODULE.bazel (No such file or directory). Type 'bazel help mod' for syntax and help.

Does not work for me ERROR: MODULE.bazel expected but not found at /private/var/tmp/_bazel_farcop/e66529431dbede3bc951f821053136ab/external/rules_apko~/MODULE.bazel: /private/var/tmp/_bazel_farcop/e66529431dbede3bc951f821053136ab/external/rules_apko~/MODULE.bazel (No such file or directory). Type 'bazel help mod' for syntax and help.

Ah, my bad. I missed out the strip_prefix attribute. Added that in to the original suggestion.