Skip to content

Commit a34c3fd

Browse files
Pin dependencies (#23)
* Pin dependencies * pin fly setup action --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cameron Brill <c00brill@gmail.com>
1 parent 10cbb3d commit a34c3fd

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ jobs:
144144
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
145145

146146
- name: Set up Docker Buildx
147-
uses: docker/setup-buildx-action@v3
147+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
148148

149149
- name: Log in to GitHub Container Registry
150-
uses: docker/login-action@v3
150+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
151151
with:
152152
registry: ghcr.io
153153
username: ${{ github.actor }}
@@ -164,7 +164,7 @@ jobs:
164164
165165
- name: Extract metadata
166166
id: meta
167-
uses: docker/metadata-action@v5
167+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5
168168
with:
169169
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
170170
tags: |
@@ -173,7 +173,7 @@ jobs:
173173
type=raw,value=latest,enable={{is_default_branch}}
174174
175175
- name: Build and push Docker image
176-
uses: docker/build-push-action@v6
176+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
177177
with:
178178
context: .
179179
file: ./Dockerfile
@@ -193,7 +193,7 @@ jobs:
193193
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
194194

195195
- name: Setup Fly.io CLI
196-
uses: superfly/flyctl-actions/setup-flyctl@master
196+
uses: superfly/flyctl-actions/setup-flyctl@63da3ecc5e2793b98a3f2519b3d75d4f4c11cec2
197197

198198
- name: Deploy to Fly.io
199199
run: flyctl deploy --remote-only

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM python:3.13.9-alpine AS builder
1+
FROM python:3.13.9-alpine@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1 AS builder
22

3-
COPY --from=node:25.1.0-alpine /usr/local/bin/node /usr/local/bin/node
3+
COPY --from=node:25.1.0-alpine@sha256:7e467cc5aa91c87e94f93c4608cf234ca24aac3ec941f7f3db207367ccccdd11 /usr/local/bin/node /usr/local/bin/node
44
RUN apk add --no-cache curl bash ca-certificates git npm
55

66
ENV MISE_DATA_DIR="/mise"
@@ -16,7 +16,7 @@ COPY mise.toml mise.toml
1616
RUN mise trust .
1717
RUN mise install "npm:@infisical/cli"
1818

19-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
19+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 /uv /usr/local/bin/uv
2020

2121
WORKDIR /app
2222

@@ -25,9 +25,9 @@ COPY pyproject.toml uv.lock ./
2525
RUN --mount=type=cache,target=/root/.cache/uv \
2626
uv sync --frozen --no-dev
2727

28-
FROM python:3.13.9-alpine
28+
FROM python:3.13.9-alpine@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1
2929

30-
COPY --from=node:25.1.0-alpine /usr/local/bin/node /usr/local/bin/node
30+
COPY --from=node:25.1.0-alpine@sha256:7e467cc5aa91c87e94f93c4608cf234ca24aac3ec941f7f3db207367ccccdd11 /usr/local/bin/node /usr/local/bin/node
3131
RUN apk add --no-cache curl bash ca-certificates npm
3232

3333
WORKDIR /app

0 commit comments

Comments
 (0)