/dhall-concourse-v0.4.1/legacy/default/Step.Hook.Step.Task.Config.ImageResource.RegistryImage.dhall

Copy path to clipboard

Source

let Version = ../types/Version.dhall : Type

let RegistryImage = ../types/resources/RegistryImage.dhall

let mkRegistryImage = ./resources/RegistryImage.dhall

let ImageResource = ../types/Step.Hook.Step.Task.Config.ImageResource.dhall

in λ(_params : { repository : Text })
→ { type =
mkRegistryImage.meta.name
, params =
None RegistryImage.params.get.schema
, version =
None Version
, source =
mkRegistryImage.source { repository = _params.repository }
: RegistryImage.source.schema
}
: ImageResource.registry-image.schema