From 8432f022ef4c48a90f67f253386e2b2241d19947 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Mon, 20 May 2024 23:44:48 -0700 Subject: [PATCH] update deploy --- .github/workflows/deploy.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e6c5960..2d051105 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -66,13 +66,5 @@ jobs: ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }} IMAGE_TAG: latest run: | - docker buildx build --platform linux/amd64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile . --push - - # - name: Update Lambda function to use new Docker image - # env: - # FUNCTION_NAME: ${{ secrets.LAMBDA_FUNCTION_NAME }} - # ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }} - # ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }} - # IMAGE_TAG: latest - # run: | - # aws lambda update-function-code --function-name $FUNCTION_NAME --image-uri $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile . + docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG