Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ permissions: read-all

jobs:
test:
uses: mitlibraries/.github/.github/workflows/python-uv-shared-test.yml@main
uses: mitlibraries/.github/.github/workflows/python-uv-shared-test.yml@ed81322385810830d3b88f73557e6e1f35ce062a # main
lint:
uses: mitlibraries/.github/.github/workflows/python-uv-shared-lint.yml@main
uses: mitlibraries/.github/.github/workflows/python-uv-shared-lint.yml@ed81322385810830d3b88f73557e6e1f35ce062a # main
4 changes: 2 additions & 2 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ permissions:
jobs:
deploy:
name: Dev Deploy
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-deploy-dev.yml@main
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-deploy-dev.yml@ed81322385810830d3b88f73557e6e1f35ce062a # main
secrets: inherit
with:
AWS_REGION: "us-east-1"
Expand All @@ -58,7 +58,7 @@ jobs:
steps:

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@517a711dbcd0e402f90c77e7e2f81e849156e31d # v6
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCT_DEV }}:role/${{ env.GHA_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permissions:
jobs:
deploy:
name: Deploy
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-promote-prod.yml@main
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-promote-prod.yml@ed81322385810830d3b88f73557e6e1f35ce062a # main
secrets: inherit
with:
AWS_REGION: "us-east-1"
Expand All @@ -52,7 +52,7 @@ jobs:
steps:

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@517a711dbcd0e402f90c77e7e2f81e849156e31d # v6
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCT_PROD }}:role/${{ env.GHA_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ permissions:
jobs:
deploy:
name: Stage Deploy
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-deploy-stage.yml@main
uses: mitlibraries/.github/.github/workflows/ecr-multi-arch-deploy-stage.yml@ed81322385810830d3b88f73557e6e1f35ce062a # main
secrets: inherit
with:
AWS_REGION: "us-east-1"
Expand All @@ -58,7 +58,7 @@ jobs:
steps:

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v6
uses: aws-actions/configure-aws-credentials@517a711dbcd0e402f90c77e7e2f81e849156e31d # v6
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCT_STAGE }}:role/${{ env.GHA_ROLE }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---- Build stage ----
FROM public.ecr.aws/lambda/python:3.14 AS builder
FROM public.ecr.aws/lambda/python:3.14@sha256:b3d0ba04ab81aaf095cbe7a4b5feeca285aeaf772796ee4100020309c1dc37a2 AS builder

COPY --from=ghcr.io/astral-sh/uv:0.10.7 /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:0.10.7@sha256:edd1fd89f3e5b005814cc8f777610445d7b7e3ed05361f9ddfae67bebfe8456a /uv /uvx /bin/

COPY pyproject.toml uv.lock ${LAMBDA_TASK_ROOT}/

Expand All @@ -12,7 +12,7 @@ RUN cd ${LAMBDA_TASK_ROOT} && \
COPY . ${LAMBDA_TASK_ROOT}/

# ---- Runtime stage ----
FROM public.ecr.aws/lambda/python:3.14
FROM public.ecr.aws/lambda/python:3.14@sha256:b3d0ba04ab81aaf095cbe7a4b5feeca285aeaf772796ee4100020309c1dc37a2

COPY --from=builder ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}

Expand Down
Loading