You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: failed to load image configuration: failed to parse image configuration: yaml: unmarshal errors:
line 1: field package not found in type types.ImageConfiguration
line 11: cannot unmarshal !!map into string
line 17: field pipeline not found in type types.ImageConfiguration
line 33: field subpackages not found in type types.ImageConfiguration
line 42: field update not found in type types.ImageConfiguration
line 49: field test not found in type types.ImageConfiguration
Additionally, when attempting to use the --debug flag, the following error occurs:
Docker command executed on: [Your OS and version, e.g., Ubuntu 20.04]
Expected Behavior
The apko build command should properly parse the provided YAML configuration and begin the build process without errors.
Actual Behavior
The command fails with the aforementioned unmarshal errors, indicating unrecognized fields and an unknown flag.
Additional Context
Please let me know if there's a newer configuration template or documentation update that might resolve these issues. Any suggestions or workarounds are appreciated.
The text was updated successfully, but these errors were encountered:
Description
I encountered an error when trying to build an image using
apko
with the configuration file found at: https://github.com/wolfi-dev/os/blob/main/stakater-reloader.yaml. The error seems related to unrecognized fields in the YAML configuration.Steps to Reproduce
Clone the configuration file from stakater-reloader.yaml.
Run the following Docker command:
docker run --rm -v ${PWD}:/work -w /work cgr.dev/chainguard/apko build wolfi-reloader-apko.yaml wolfi-reloader:test wolfi-reloader.tar
The following error is returned:
Additionally, when attempting to use the
--debug
flag, the following error occurs:Environment
Expected Behavior
The
apko build
command should properly parse the provided YAML configuration and begin the build process without errors.Actual Behavior
The command fails with the aforementioned unmarshal errors, indicating unrecognized fields and an unknown flag.
Additional Context
Please let me know if there's a newer configuration template or documentation update that might resolve these issues. Any suggestions or workarounds are appreciated.
The text was updated successfully, but these errors were encountered: