AwsEcrImageTagModuleSchema
Index
Properties
architecture
The processor the image is built for. A Lambda function or an ECS task running the image runs on it.
Like dockerfileDirectory, editing it republishes nothing.
optionalbuildArguments
Values passed to the build as --build-arg, read by the Dockerfile's ARG instructions.
They are written into octo's state, so they must not be secrets; pass those as buildSecrets.
Like dockerfileDirectory, editing them republishes nothing.
optionalbuildSecrets
Secrets passed to the build as --secret, read by the Dockerfile's RUN --mount=type=secret.
Each key is the secret's id, and each value is the name of the environment variable holding it
when octo builds the image. Octo keeps only the names; a variable that is not set fails the build
before anything is published. Like dockerfileDirectory, editing them republishes nothing.
dockerfileDirectory
The build context the image is built from, as a path relative to the octo project root. It is relative because an absolute path differs on every machine, and this path is part of what octo commits.
It describes how to build the image, not which image this is. Editing it - or the Dockerfile it points at - republishes nothing, because the tag already published is immutable. Publish the new image under a new tag.
optionaldockerfileName
The name of the Dockerfile within dockerfileDirectory.
Like dockerfileDirectory, editing it republishes nothing.
image
The image this version is published into, from AwsEcrImageModule. It is published into the image's
repository in each of its regions.
imageTag
The tag this version of the image is published under, e.g. 0.0.1.
Tags are immutable: another version is another tag, published by another module. This is the
only input that decides what is published - changing it publishes the new tag and retires the
old one.
AwsEcrImageTagModuleSchemais the input schema for theAwsEcrImageTagModulemodule: the image to build and publish, the tag it is published under, and the ECR image whose repositories it goes into.Modules/Image/AwsEcrImageTag
AwsEcrImageTagModule to learn more about the
AwsEcrImageTagModulemodule.