Skip to content

Commit

Permalink
ci: Allow snapshot creation for release-v0.33.x (#5558)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Jan 30, 2024
1 parent 0235947 commit a32a8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release:
permissions:
id-token: write # aws-actions/[email protected]
if: github.repository == 'aws/karpenter'
if: github.repository == 'aws/karpenter-provider-aws'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -17,6 +17,6 @@ jobs:
- uses: ./.github/actions/install-deps
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # 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 }}
role-to-assume: 'arn:aws:iam::${{ vars.SNAPSHOT_ACCOUNT_ID }}:role/${{ vars.SNAPSHOT_ROLE_NAME }}'
aws-region: ${{ vars.SNAPSHOT_REGION }}
- run: make snapshot

0 comments on commit a32a8c4

Please sign in to comment.