Skip to content

Update Makefile

Update Makefile #17

Workflow file for this run

name: Snapshot
on:
push:
branches:
- 'main'
- 'release-v*'
- 'staging/*'
jobs:
snapshot:
permissions:
id-token: write # aws-actions/configure-aws-credentials@v4.0.1
if: github.repository == 'aws/karpenter-provider-aws'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: ./.github/actions/install-deps
with:
use-cache: false
- uses: aws-actions/configure-aws-credentials@99214aa6889fcddfa57764031d71add364327e59 # v6.1.3
with:
role-to-assume: 'arn:aws:iam::${{ vars.SNAPSHOT_ACCOUNT_ID }}:role/${{ vars.SNAPSHOT_ROLE_NAME }}'
aws-region: ${{ vars.SNAPSHOT_REGION }}
- run: make snapshot