diff --git a/.github/workflows/deploy-submodule.yml b/.github/workflows/deploy-submodule.yml index 8f3428f..3713493 100644 --- a/.github/workflows/deploy-submodule.yml +++ b/.github/workflows/deploy-submodule.yml @@ -28,11 +28,6 @@ jobs: - name: "🔨 Install dependencies" run: bun install --frozen-lockfile - - name: "🔨 Prebuild docker dependencies" - uses: docker/build-push-action@v5 - with: - push: false - - name: "👥 Configure AWS Credentials" uses: aws-actions/configure-aws-credentials@v4 with: @@ -40,6 +35,15 @@ jobs: aws-region: eu-west-1 retry-max-attempts: 5 + - name: "👥 Login to Amazon ECR" + id: login-ecr + uses: aws-actions/amazon-ecr-login@v2 + + - name: "🔨 Prebuild docker dependencies" + uses: docker/build-push-action@v5 + with: + push: false + - name: "🚀 SST Deploy" env: STAGE_OVERRIDE: ${{ inputs.stage-override }} diff --git a/sst.config.ts b/sst.config.ts index e77f81e..cf46dce 100644 --- a/sst.config.ts +++ b/sst.config.ts @@ -41,8 +41,8 @@ function IndexerStack({ app, stack }: StackContext) { // Get the security group for the database const databaseSecurityGroup = SecurityGroup.fromLookupById( stack, - "subgraph-security-group", - "sg-037f30a3a8d9fa718" + "indexer-db-sg", + "sg-0cbbb98322234113f" ); // The service itself