From f10951f81df35661cbd28e9a8a9b537202bf550d Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 6 Feb 2026 11:24:00 +0000 Subject: [PATCH] try without build args --- .github/workflows/deploy_terraform.yml | 4 ---- backend/condition/handler/Dockerfile | 12 ++++++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index 4ac08e41..def2a6dc 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -141,10 +141,6 @@ jobs: ecr_repo: condition-etl-${{ needs.determine_stage.outputs.stage }} dockerfile_path: backend/condition/handler/Dockerfile build_context: . - build_args: | - DEV_DB_HOST=$DEV_DB_HOST - DEV_DB_PORT=$DEV_DB_PORT - DEV_DB_NAME=$DEV_DB_NAME secrets: AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} diff --git a/backend/condition/handler/Dockerfile b/backend/condition/handler/Dockerfile index 031d981e..96035838 100644 --- a/backend/condition/handler/Dockerfile +++ b/backend/condition/handler/Dockerfile @@ -2,18 +2,18 @@ FROM public.ecr.aws/lambda/python:3.11 # For local running: # FROM python:3.11.10-bullseye -ARG DEV_DB_HOST -ARG DEV_DB_PORT -ARG DEV_DB_NAME +# ARG DEV_DB_HOST +# ARG DEV_DB_PORT +# ARG DEV_DB_NAME # Set working directory (Lambda task root) WORKDIR /var/task # Environment -ENV DB_HOST=${DEV_DB_HOST} -ENV DB_PORT=${DEV_DB_PORT} -ENV DB_NAME=${DEV_DB_NAME} +# ENV DB_HOST=${DEV_DB_HOST} +# ENV DB_PORT=${DEV_DB_PORT} +# ENV DB_NAME=${DEV_DB_NAME} COPY backend/.env.local backend/.env.local