container_custom
No long description provided.
Installation
dagger install github.com/bradfordwagner/dagger-modules/container_custom@v0.1.0Types
ContainerCustom 🔗
product() 🔗
Cartesian returns the cartesian product of all builds this is used to explode the builds
Return Type
[ContainerCustomProductFormat ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
Example
Function ContainerCustom.product is not accessible from the container_custom moduleFunction ContainerCustom.product is not accessible from the container_custom moduleFunction ContainerCustom.product is not accessible from the container_custom moduleFunction ContainerCustom.product is not accessible from the container_custom moduleproductJson() 🔗
ProductJson returns the cartesian product of all builds as a json string, used for github actions matrix
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
Example
Function ContainerCustom.productJson is not accessible from the container_custom moduleFunction ContainerCustom.productJson is not accessible from the container_custom moduleFunction ContainerCustom.productJson is not accessible from the container_custom moduleFunction ContainerCustom.productJson is not accessible from the container_custom moduleinit() 🔗
Init creates an example yaml config for cicd to use
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
Function ContainerCustom.init is not accessible from the container_custom moduleFunction ContainerCustom.init is not accessible from the container_custom moduleFunction ContainerCustom.init is not accessible from the container_custom moduleFunction ContainerCustom.init is not accessible from the container_custom modulemanifest() 🔗
Manifest - configures manifest in registry. not meant to be run locally
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
| actor | Secret ! | - | GitHub actor, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token" |
| token | Secret ! | - | GitHub API token, --token=env:GITHUB_API_TOKEN,--token=cmd:"gh auth token" |
Example
Function ContainerCustom.manifest is not accessible from the container_custom moduleFunction ContainerCustom.manifest is not accessible from the container_custom moduleFunction ContainerCustom.manifest is not accessible from the container_custom moduleFunction ContainerCustom.manifest is not accessible from the container_custom modulebuild() 🔗
Build - builds the container image
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| index | Integer ! | 0 | No description provided |
| src | Directory ! | - | No description provided |
| version | String ! | "latest" | No description provided |
| isDev | Boolean ! | true | No description provided |
Example
Function ContainerCustom.build is not accessible from the container_custom moduleFunction ContainerCustom.build is not accessible from the container_custom moduleFunction ContainerCustom.build is not accessible from the container_custom moduleFunction ContainerCustom.build is not accessible from the container_custom moduleContainerCustomProductFormat 🔗
arch() 🔗
Return Type
String ! Example
Function ContainerCustomProductFormat.arch is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.arch is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.arch is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.arch is not accessible from the container_custom moduleindex() 🔗
Return Type
Integer ! Example
Function ContainerCustomProductFormat.index is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.index is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.index is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.index is not accessible from the container_custom moduleos() 🔗
Return Type
String ! Example
Function ContainerCustomProductFormat.os is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.os is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.os is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.os is not accessible from the container_custom modulerunner() 🔗
Return Type
String ! Example
Function ContainerCustomProductFormat.runner is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.runner is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.runner is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.runner is not accessible from the container_custom moduletargetImage() 🔗
without architecture suffix
Return Type
String ! Example
Function ContainerCustomProductFormat.targetImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.targetImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.targetImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.targetImage is not accessible from the container_custom moduleupstreamImage() 🔗
Return Type
String ! Example
Function ContainerCustomProductFormat.upstreamImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.upstreamImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.upstreamImage is not accessible from the container_custom moduleFunction ContainerCustomProductFormat.upstreamImage is not accessible from the container_custom module