DockerBuildSecret
Methods to build Docker CLI arguments for builds using secrets.
Docker BuildKit must be enabled to use build secrets.
Initializers
import ros_cdk_core
ros_cdk_core.DockerBuildSecret()
Name | Type | Description |
---|---|---|
Static Functions
Name | Description |
---|---|
from_src |
A Docker build secret from a file source. |
from_src
import ros_cdk_core
ros_cdk_core.DockerBuildSecret.from_src(
src: str
)
A Docker build secret from a file source.
- Type: str
The path to the source file, relative to the build directory.