Skip to content

Commit 812ab46

Browse files
chore(deps): pin dependencies
1 parent c0d4a29 commit 812ab46

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
steps:
61-
- uses: actions/checkout@v4
61+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
6262
with:
6363
submodules: recursive
6464
- name: Install dist
@@ -67,7 +67,7 @@ jobs:
6767
shell: bash
6868
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.25.1/cargo-dist-installer.sh | sh"
6969
- name: Cache dist
70-
uses: actions/upload-artifact@v4
70+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
7171
with:
7272
name: cargo-dist-cache
7373
path: ~/.cargo/bin/dist
@@ -83,7 +83,7 @@ jobs:
8383
cat plan-dist-manifest.json
8484
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8585
- name: "Upload dist-manifest.json"
86-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8787
with:
8888
name: artifacts-plan-dist-manifest
8989
path: plan-dist-manifest.json
@@ -116,14 +116,14 @@ jobs:
116116
- name: enable windows longpaths
117117
run: |
118118
git config --global core.longpaths true
119-
- uses: actions/checkout@v4
119+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
120120
with:
121121
submodules: recursive
122122
- name: Install dist
123123
run: ${{ matrix.install_dist }}
124124
# Get the dist-manifest
125125
- name: Fetch local artifacts
126-
uses: actions/download-artifact@v4
126+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
127127
with:
128128
pattern: artifacts-*
129129
path: target/distrib/
@@ -137,7 +137,7 @@ jobs:
137137
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
138138
echo "dist ran successfully"
139139
- name: Attest
140-
uses: actions/attest-build-provenance@v1
140+
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1
141141
with:
142142
subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
143143
- id: cargo-dist
@@ -154,7 +154,7 @@ jobs:
154154
155155
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
156156
- name: "Upload artifacts"
157-
uses: actions/upload-artifact@v4
157+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
158158
with:
159159
name: artifacts-build-local-${{ join(matrix.targets, '_') }}
160160
path: |
@@ -171,18 +171,18 @@ jobs:
171171
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
172172
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
173173
steps:
174-
- uses: actions/checkout@v4
174+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
175175
with:
176176
submodules: recursive
177177
- name: Install cached dist
178-
uses: actions/download-artifact@v4
178+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
179179
with:
180180
name: cargo-dist-cache
181181
path: ~/.cargo/bin/
182182
- run: chmod +x ~/.cargo/bin/dist
183183
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
184184
- name: Fetch local artifacts
185-
uses: actions/download-artifact@v4
185+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
186186
with:
187187
pattern: artifacts-*
188188
path: target/distrib/
@@ -200,7 +200,7 @@ jobs:
200200
201201
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
202202
- name: "Upload artifacts"
203-
uses: actions/upload-artifact@v4
203+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
204204
with:
205205
name: artifacts-build-global
206206
path: |
@@ -220,18 +220,18 @@ jobs:
220220
outputs:
221221
val: ${{ steps.host.outputs.manifest }}
222222
steps:
223-
- uses: actions/checkout@v4
223+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
224224
with:
225225
submodules: recursive
226226
- name: Install cached dist
227-
uses: actions/download-artifact@v4
227+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
228228
with:
229229
name: cargo-dist-cache
230230
path: ~/.cargo/bin/
231231
- run: chmod +x ~/.cargo/bin/dist
232232
# Fetch artifacts from scratch-storage
233233
- name: Fetch artifacts
234-
uses: actions/download-artifact@v4
234+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
235235
with:
236236
pattern: artifacts-*
237237
path: target/distrib/
@@ -244,14 +244,14 @@ jobs:
244244
cat dist-manifest.json
245245
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
246246
- name: "Upload dist-manifest.json"
247-
uses: actions/upload-artifact@v4
247+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
248248
with:
249249
# Overwrite the previous copy
250250
name: artifacts-dist-manifest
251251
path: dist-manifest.json
252252
# Create a GitHub Release while uploading all files to it
253253
- name: "Download GitHub Artifacts"
254-
uses: actions/download-artifact@v4
254+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
255255
with:
256256
pattern: artifacts-*
257257
path: artifacts
@@ -284,6 +284,6 @@ jobs:
284284
env:
285285
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
286286
steps:
287-
- uses: actions/checkout@v4
287+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
288288
with:
289289
submodules: recursive

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rustlang/rust:nightly-slim AS builder
1+
FROM rustlang/rust:nightly-slim@sha256:a60e69a240b51b2d306b9db8c8b0a86903a36b59ac9085adbfe540001678ecef AS builder
22
WORKDIR /app
33

44
RUN apt-get update && \
@@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/root/.rustup \
3434
cargo build --release;\
3535
cp target/release/flan .
3636

37-
FROM debian:12-slim as runtime
37+
FROM debian:12-slim@sha256:4b50eb66f977b4062683ff434ef18ac191da862dbe966961bc11990cf5791a8d as runtime
3838
WORKDIR /app
3939

4040
RUN apt-get update && \

docker-compose.example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
minio:
6363
networks:
6464
- flan
65-
image: quay.io/minio/minio
65+
image: quay.io/minio/minio@sha256:a1ea29fa28355559ef137d71fc570e508a214ec84ff8083e39bc5428980b015e
6666
container_name: flan_minio
6767
command: server /data --console-address ":9001"
6868
environment:
@@ -78,7 +78,7 @@ services:
7878
container_name: flan_postgres
7979
networks:
8080
- flan
81-
image: postgres:15-alpine
81+
image: postgres:15-alpine@sha256:5402d0a13eab398c7c38f1b90af081d7f9e5977606ed869cecdb661403f6586a
8282
ports:
8383
- "6500:5432"
8484
environment:

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM oven/bun:1 AS base
1+
FROM oven/bun:1@sha256:a02c6162266611419fd84c8f96dbdbf3029532e2491314dee5172a27223e5428 AS base
22
WORKDIR /usr/src/app
33

44
# install dependencies into temp directory

0 commit comments

Comments
 (0)