Skip to content

fix: Make --source optional in Dagger functions #696

@NucleoFusion

Description

@NucleoFusion

Currently some functions require the --source flag to be set for execution.
Instead we need to do,

func Any(
  // +ignore=[".gitignore"]
  // +defaultPath="."
  // +optional  
  source *dagger.Directory,
)

Thi

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