Skip to content
Merged
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@e6de054238d6b7531b4efff3b6587d9aade6a06c # 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@e6de054238d6b7531b4efff3b6587d9aade6a06c # 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@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCT_STAGE }}:role/${{ env.GHA_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Build stage ----
FROM public.ecr.aws/lambda/python:3.14 AS builder
FROM public.ecr.aws/lambda/python:3.14@sha256:ffd4cb57ef54ca866520300d4489b624ee7d91c40f2d6e7bb415a7e8c2a3396e AS builder

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

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:ffd4cb57ef54ca866520300d4489b624ee7d91c40f2d6e7bb415a7e8c2a3396e

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

Expand Down
Loading