Skip to content

fix: remove unused RolloutNodeStatus and prevent templateHash race (#81) #285

fix: remove unused RolloutNodeStatus and prevent templateHash race (#81)

fix: remove unused RolloutNodeStatus and prevent templateHash race (#81) #285

Workflow file for this run

name: ECR
on:
push:
branches: [main]
workflow_dispatch:
inputs:
tag:
description: "Image tag (defaults to git sha)"
required: false
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::189176372795:role/common/gha
role-duration-seconds: 900
aws-region: us-east-2
- id: ecr-login
uses: aws-actions/amazon-ecr-login@v2
- uses: docker/setup-buildx-action@v3
- 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