From 5d92c707bc63d06274c8470c17e263ca4f3214c5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 14 Jan 2026 23:20:19 +0000 Subject: [PATCH] chore(deps): pin dependencies --- .github/workflows/build.yaml | 8 ++++---- Dockerfile | 6 +++--- deploy/prod/docker-compose.yml | 2 +- tests/integration/mock_grist/Dockerfile | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e717951..498dc09 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Log in to Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -29,7 +29,7 @@ jobs: - name: Extract metadata for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | @@ -38,10 +38,10 @@ jobs: type=raw,value=latest,enable=${{ !contains(github.ref, '-alpha') && !contains(github.ref, '-beta') && !contains(github.ref, '-rc') }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 - name: Build and push Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 with: context: . push: true diff --git a/Dockerfile b/Dockerfile index cc6dc58..c9cf62b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # Stage 1: Builder -FROM python:3.14-slim AS builder +FROM python:3.14-slim@sha256:1f741aef81d09464251f4c52c83a02f93ece0a636db125d411bd827bf381a763 AS builder # Install uv -COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest@sha256:13e233d08517abdafac4ead26c16d881cd77504a2c40c38c905cf3a0d70131a6 /uv /usr/local/bin/uv WORKDIR /app @@ -20,7 +20,7 @@ RUN uv sync --frozen --no-dev # Stage 2: Runtime -FROM python:3.14-slim +FROM python:3.14-slim@sha256:1f741aef81d09464251f4c52c83a02f93ece0a636db125d411bd827bf381a763 # Create non-root user RUN useradd --create-home --shell /bin/bash appuser diff --git a/deploy/prod/docker-compose.yml b/deploy/prod/docker-compose.yml index 3a0c805..68d3bfc 100644 --- a/deploy/prod/docker-compose.yml +++ b/deploy/prod/docker-compose.yml @@ -1,7 +1,7 @@ # Production environment services: grist-mcp: - image: ghcr.io/xe138/grist-mcp-server:latest + image: ghcr.io/xe138/grist-mcp-server:latest@sha256:f7e1463b319c398c39be4444ac73a7426849e3edfddf2f0510c9cea61495db01 ports: - "${PORT:-3000}:3000" volumes: diff --git a/tests/integration/mock_grist/Dockerfile b/tests/integration/mock_grist/Dockerfile index 96017d9..2e8f3cf 100644 --- a/tests/integration/mock_grist/Dockerfile +++ b/tests/integration/mock_grist/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.14-slim +FROM python:3.14-slim@sha256:1f741aef81d09464251f4c52c83a02f93ece0a636db125d411bd827bf381a763 WORKDIR /app