From a32a8c488d23d8e4751627b7c117b37ce5c7580e Mon Sep 17 00:00:00 2001 From: Amanuel Engeda <74629455+engedaam@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:02:59 -0800 Subject: [PATCH] ci: Allow snapshot creation for `release-v0.33.x` (#5558) --- .github/workflows/snapshot.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index 1c9a56c59848..4e6cbb0d96d2 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -8,7 +8,7 @@ jobs: release: permissions: id-token: write # aws-actions/configure-aws-credentials@v4.0.1 - if: github.repository == 'aws/karpenter' + if: github.repository == 'aws/karpenter-provider-aws' runs-on: ubuntu-latest steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -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