diff --git a/.github/workflows/logs-to-tsdb.yml b/.github/workflows/logs-to-tsdb.yml index 392f816..476be06 100644 --- a/.github/workflows/logs-to-tsdb.yml +++ b/.github/workflows/logs-to-tsdb.yml @@ -30,10 +30,7 @@ jobs: docker build -t 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:$IMAGE_TAG logs-to-tsdb/ docker push 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:$IMAGE_TAG - # Tag and push as "latest" - docker tag 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:$IMAGE_TAG 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:latest - docker push 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:latest - - # now build the kinesis one - temporary transition while we have both - docker build -f Dockerfile.kinesis -t 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:kinesis logs-to-tsdb/ + # Tag and push as "kinesis" for now + docker tag 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:$IMAGE_TAG 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:kinesis docker push 967314784947.dkr.ecr.us-east-2.amazonaws.com/data-pipes-logs:kinesis + diff --git a/logs-to-tsdb/Dockerfile b/logs-to-tsdb/Dockerfile index 61e687b..d61d0cc 100644 --- a/logs-to-tsdb/Dockerfile +++ b/logs-to-tsdb/Dockerfile @@ -6,8 +6,9 @@ WORKDIR ${LAMBDA_TASK_ROOT} COPY requirements.txt ${LAMBDA_TASK_ROOT} -COPY logs-lambda.py ${LAMBDA_TASK_ROOT} +COPY kinesis-lambda.py ${LAMBDA_TASK_ROOT} RUN pip install -r requirements.txt -CMD [ "logs-lambda.handler" ] +CMD [ "kinesis-lambda.handler" ] + diff --git a/logs-to-tsdb/Dockerfile.kinesis b/logs-to-tsdb/Dockerfile.old-lambda similarity index 70% rename from logs-to-tsdb/Dockerfile.kinesis rename to logs-to-tsdb/Dockerfile.old-lambda index d61d0cc..61e687b 100644 --- a/logs-to-tsdb/Dockerfile.kinesis +++ b/logs-to-tsdb/Dockerfile.old-lambda @@ -6,9 +6,8 @@ WORKDIR ${LAMBDA_TASK_ROOT} COPY requirements.txt ${LAMBDA_TASK_ROOT} -COPY kinesis-lambda.py ${LAMBDA_TASK_ROOT} +COPY logs-lambda.py ${LAMBDA_TASK_ROOT} RUN pip install -r requirements.txt -CMD [ "kinesis-lambda.handler" ] - +CMD [ "logs-lambda.handler" ]