Skip to content
This repository was archived by the owner on Jun 1, 2021. It is now read-only.
This repository was archived by the owner on Jun 1, 2021. It is now read-only.

validate context in spec #125

@artbegolli

Description

@artbegolli

Describe the bug
If you do not specify a context in the spec, you get a very unhelpful error.
Screenshot 2020-01-30 at 11 47 38

Add validation to prevent this with proper error handling or alternatively set the default context to be the current working directory.

To Reproduce
Steps to reproduce the behavior:

  1. Run a build with no context specified in ocibuilder.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions