You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for multiple tags on an OCI image dependency
Existing APIs for a single tag:
.tag("tag1")
.tag(provider { "tag1" })
Additional APIs for multiple tags:
.tag("tag1", "tag2")
.tag(setOf("tag1", "tag2"))
.tag(provider { setOf("tag1", "tag2") })
All above APIs can be called in a chain multiple times, for example .tag("tag1").tag("tag2", "tag3")
"." is a placeholder for the default tag of the dependency, for example .tag(".", "latest") keeps the tag and additionally adds a latest tag (previously this was only possible by declaring the dependency twice, once without any call to tag and secondly with .tag("latest"))
Added command line options registry, url, credentials for tasks of type OciPushTask:
--registry: Pushes to the registry defined with the specified name in oci.registries.
--url: Pushes to the specified registry URL.
--credentials: Authenticates to the registry using the credentials with the specified id.
Added push{imageDefinitionName}OciImage tasks of type OciPushSingleTask for every image definition (task name is pushOciImage for the main image definition) with command line options:
--name: Names the image. If not specified, the imageName defined in the image definition is used.
--tag: Tags the image. Option can be specified multiple times. The value . translates to the imageTag defined in the image definition. If not specified, the imageTag defined in the image definition is used.