From 082ce949d82e5ece625518bd28a66b5e176b4725 Mon Sep 17 00:00:00 2001 From: Eric Blau Date: Fri, 27 Oct 2023 14:47:48 -0500 Subject: [PATCH] Add code to github action to update the lambdas to the latest container image --- .github/workflows/deploy-lambda.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-lambda.yml b/.github/workflows/deploy-lambda.yml index 3c1bea9..b3b5669 100644 --- a/.github/workflows/deploy-lambda.yml +++ b/.github/workflows/deploy-lambda.yml @@ -106,3 +106,9 @@ jobs: tags: ${{ steps.login-ecr.outputs.registry }}/mdf-lambdas/${{ matrix.lambda }}:test file: ./aws/Dockerfile build-args: LAMBDA_SCRIPT=${{ matrix.lambda }} + + - name: Update lambda functions w/ the new containers + uses: ericblau/deploy-lambda-action@v0 + with: + function-name: MDF-Connect-${{ matrix.lambda }}-test + image-uri: ${{ steps.login-ecr.outputs.registry }}/mdf-lambdas/${{ matrix.lambda }}:test