Building Containers
kind: Build
name: api
type: containerkind: Deploy
name: api
type: helm
dependencies: [build.api] # <--- We need to specify the dependency here
spec:
values:
repository: ${actions.build.api.outputs.deploymentImageName}
tag: ${actions.build.api.version}
kind: Deploy
type: kubernetes
name: api
dependencies: [build.api] # <--- We need to specify the dependency here
spec:
manifestFiles: [my-manifests.yml]
patchResources:
- name: api # <--- The name of the resource to patch, should match the name in the K8s manifest
kind: Deployment # <--- The kind of the resource to patch
patch:
spec:
template:
spec:
containers:
- name: api # <--- Should match the container name from the K8s manifest
image: ${actions.build.api.outputs.deployment-image-id} # <--- The output from the Build actionExamples
Building images
Setting build arguments
Using remote images
Doing multi-platform builds
Publishing images
Last updated
Was this helpful?

