Skip to content

ci: Use cleanup input (#4942) #141

ci: Use cleanup input (#4942)

ci: Use cleanup input (#4942) #141

Workflow file for this run

name: Snapshot
on:
push:
branches: [ main ]
permissions:
id-token: write # aws-actions/configure-aws-credentials@v4.0.1
jobs:
release:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install-deps
- uses: aws-actions/configure-aws-credentials@v4.0.1
with:
role-to-assume: 'arn:aws:iam::${{ vars.ECR_ACCOUNT_ID }}:role/${{ vars.ECR_SNAPSHOT_ROLE_NAME }}'
aws-region: ${{ vars.ECR_REGION }}
- run: make snapshot