diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index 905312610b30..5c80d7b5cceb 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -8,7 +8,6 @@ jobs: release: 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/hack/release/common.sh b/hack/release/common.sh index 0256e10d14ec..2a3669a7151e 100644 --- a/hack/release/common.sh +++ b/hack/release/common.sh @@ -3,12 +3,12 @@ set -euo pipefail config(){ GITHUB_ACCOUNT="aws" - AWS_ACCOUNT_ID="071440425669" + AWS_ACCOUNT_ID="605559265918" ECR_GALLERY_NAME="karpenter" RELEASE_REPO_ECR=${RELEASE_REPO_ECR:-public.ecr.aws/${ECR_GALLERY_NAME}/} RELEASE_REPO_GH=${RELEASE_REPO_GH:-ghcr.io/${GITHUB_ACCOUNT}/karpenter} - PRIVATE_HOST="${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com" + PRIVATE_HOST="${AWS_ACCOUNT_ID}.dkr.ecr.us-west-2.amazonaws.com" SNAPSHOT_REPO_ECR=${SNAPSHOT_REPO_ECR:-${PRIVATE_HOST}/karpenter/snapshot/} CURRENT_MAJOR_VERSION="0" @@ -61,11 +61,11 @@ Helm Chart Version $(helmChartVersion $RELEASE_VERSION)" } authenticate() { - aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin "${RELEASE_REPO_ECR}" + aws ecr-public get-login-password --region us-west-2 | docker login --username AWS --password-stdin "${RELEASE_REPO_ECR}" } authenticatePrivateRepo() { - aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${PRIVATE_HOST} + aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin ${PRIVATE_HOST} } buildImages() {