diff --git a/.github/workflows/deploy-lambdas.yml b/.github/workflows/deploy-lambdas.yml index 61e389c10c4..aff0ffece98 100644 --- a/.github/workflows/deploy-lambdas.yml +++ b/.github/workflows/deploy-lambdas.yml @@ -5,7 +5,6 @@ on: branches: - ci_deploy_lambdas paths: -# - '.github/workflows/deploy-lambdas.yml' - 'lambdas/**' jobs: @@ -88,9 +87,6 @@ jobs: with: role-to-assume: arn:aws:iam::730278974607:role/github/GitHub-Quilt aws-region: us-east-1 - - name: Login to Prod ECR - id: login-prod-ecr - uses: aws-actions/amazon-ecr-login@v2 - name: Push Docker image to Prod ECR run: ./lambdas/upload_ecr.sh 730278974607 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} - name: Configure AWS credentials from GovCloud account @@ -98,9 +94,6 @@ jobs: with: role-to-assume: arn:aws-us-gov:iam::313325871032:role/github/GitHub-Quilt aws-region: us-gov-east-1 - - name: Login to GovCloud ECR - id: login-govcloud-ecr - uses: aws-actions/amazon-ecr-login@v2 - name: Push Docker image to GovCloud ECR run: ./lambdas/upload_ecr.sh 313325871032 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} diff --git a/lambdas/upload_ecr.sh b/lambdas/upload_ecr.sh index ab8f42f3831..dd248f232bf 100755 --- a/lambdas/upload_ecr.sh +++ b/lambdas/upload_ecr.sh @@ -12,7 +12,7 @@ error() { account_id=$1 image_name=$2 -regions=$(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text) +regions="us-east-1" # $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text) for region in $regions do