chainguard-dev/apko

Github Action suddenly starts to fail: Get "@local%20./packages/apk-configuration": unsupported protocol scheme ""

kastl-ars opened this issue · 1 comments

One of my Github actions using melange and apko suddenly started to fail:

This is the failed one:

https://github.com/kastl-ars/wolfi-apkrane/actions/runs/10344914408

Status: Downloaded newer image for ghcr.io/wolfi-dev/sdk:latest
2024/08/12 06:01:15 DEBU loading config file: apkrane-image.yaml
2024/08/12 06:01:15 INFO Building images for 1 architectures: [amd64]
2024/08/12 06:01:15 DEBU building tags [ghcr.io/kastl-ars/wolfi-apkrane:latest ghcr.io/kastl-ars/wolfi-apkrane:0.0.1]
2024/08/12 06:01:15 DEBU loading config file: apkrane-image.yaml
2024/08/12 06:01:15 DEBU doing pre-flight checks
2024/08/12 06:01:15 DEBU initializing apk database
2024/08/12 06:01:15 DEBU performing request method=GET url=@local%20./packages/apk-configuration
2024/08/12 06:01:15 ERRO request failed error="Get \"@local%20./packages/apk-configuration\": unsupported protocol scheme \"\"" method=GET url=@local%20./packages/apk-configuration
2024/08/12 06:01:15 WARN ignoring missing keys: failed to perform key discovery: Get "@local%20./packages/apk-configuration": GET @local%20./packages/apk-configuration giving up after 1 attempt(s): Get "@local%20./packages/apk-configuration": unsupported protocol scheme ""
2024/08/12 06:01:15 DEBU performing request method=GET url=https://packages.wolfi.dev/os/apk-configuration
2024/08/12 06:01:15 DEBU finished initializing apk database
2024/08/12 06:01:15 DEBU setting apk world
2024/08/12 06:01:15 DEBU initializing apk keyring
2024/08/12 06:01:15 DEBU installing key melange.rsa.pub
2024/08/12 06:01:15 DEBU installing key https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
2024/08/12 06:01:15 INFO setting apk repositories: [@local ./packages https://packages.wolfi.dev/os]
2024/08/12 06:01:15 DEBU performing request method=HEAD url=https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
2024/08/12 06:01:15 DEBU performing request method=GET url=https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
Error: failed to build image components: initializing apk: failed to initialize apk keyring: scheme  not supported
2024/08/12 06:01:15 INFO error during command execution: failed to build image components: initializing apk: failed to initialize apk keyring: scheme  not supported
Error: Process completed with exit code 1.

Not sure why it suddenly tries to do a GET on ./packages/apk-configuration (especially with the @local prefix).

This is the last successful run.

Any ideas what is happening here?

Kind Regards,
Johannes

fixed by @imjasonh in #1326 b485c09

since this is a pretty significant breakage affecting third party users can we get a new release cut this week