name: Git clone description: Creates a shallow clone of the specified repo branch metadata: annotations: volatile_component: "true" inputs: - {name: Repo URI, type: URI} - {name: Branch, type: String, default: master} outputs: - {name: Repo dir, type: Directory} implementation: container: image: alpine/git command: - git - clone - --depth=1 - --branch - inputValue: Branch - inputValue: Repo URI - outputPath: Repo dir