Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,28 @@ jobs:

- uses: docker/setup-buildx-action@v3

- uses: docker/build-push-action@v6
- name: Build and push controller image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64
tags: ${{ steps.ecr-login.outputs.registry }}/sei/sei-k8s-controller:${{ inputs.tag || github.sha }}
cache-from: type=registry,ref=${{ steps.ecr-login.outputs.registry }}/sei/build-cache:shared
cache-to: type=registry,ref=${{ steps.ecr-login.outputs.registry }}/sei/build-cache:shared,mode=max

# The runner image is the orchestration container used by Chaos Mesh
# Workflows in scenarios/ — it ships its own per-kind Go text templates
# and applies SeiNodeTask CRs via the dynamic client. Built from the
# same repo context as the controller; the only difference is the
# Dockerfile path.
- name: Build and push seitask-runner image
uses: docker/build-push-action@v6
with:
context: .
file: runner/Dockerfile
push: true
platforms: linux/amd64
tags: ${{ steps.ecr-login.outputs.registry }}/sei/seitask-runner:${{ inputs.tag || github.sha }}
cache-from: type=registry,ref=${{ steps.ecr-login.outputs.registry }}/sei/build-cache:shared
cache-to: type=registry,ref=${{ steps.ecr-login.outputs.registry }}/sei/build-cache:shared,mode=max
Loading