boundless-tailor-81953
09/29/2023, 6:58 AMconst imageEndpoint = pulumi.interpolate`${globalStackRef.getOutput('containerRegistryEndpoint')}/${imageName}`
const imageStackEndpoint = pulumi.interpolate`${imageEndpoint}:${pulumi.getStack()}`
buildData.cacheFrom= {
images: [imageStackEndpoint]
}
if (!buildData.args) {
buildData.args = {}
}
buildData.args = {
BUILDKIT_INLINE_CACHE: '1',
...buildData.args
}
buildData.platform = "linux/amd64"
buildData.builderVersion = "BuilderBuildKit"
const image = new docker.Image(imageName, {
imageName: imageStackEndpoint,
build: buildData,
registry: getPushRegistryInfo(),
});
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by