Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension gives error 'base' key is required when base is defined in a stage #1

Open
stromseng opened this issue Aug 21, 2024 · 1 comment

Comments

@stromseng
Copy link

The start of my recipe.yml is as follows.

# vib
name: my-vanilla-image # Replace this name with your image name
id: my-vanilla-image # Replace this ID with your image ID
stages:
  - id: build
    base: ghcr.io/vanilla-os/desktop:main # Optionally, Replace this image URL with a different one i.e. nvidia:main, etc
    singlelayer: false
    labels:
      maintainer: self-maintained # Optionally, Replace this with your name
    args:
      DEBIAN_FRONTEND: noninteractive # Set the image environment as non-interactive

I get the error The 'base' key is required in a Vib recipe.(base-missing) on the second line. Even though it is clearly defined within the first stage.

Reproduce:

  1. Clone official vib template at https://github.com/Vanilla-OS/custom-image/tree/main
  2. Add #vib to the top of the file
@mirkobrombin
Copy link
Member

The extension does not support Vib v5+, we are updating it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants