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
10 changes: 10 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Scan image with Trivy
uses: aquasecurity/trivy-action@0.32.0
with:
image-ref: "${{ env.GHCR_REPO }}:${{ github.sha }}-${{ matrix.tag }}"
format: "table"
exit-code: "1"
ignore-unfixed: true
vuln-type: "os,library"
severity: "CRITICAL,HIGH,MEDIUM"

docker-manifest:
runs-on: [self-hosted, Linux]

Expand Down
113 changes: 57 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ tower_governor = "0.4"
# UI embedding
rust-embed = { version = "8.5", features = ["include-exclude"] }
mime_guess = "2.0"
base64 = "0.22.1"
tower = "0.5.2"
futures = "0.3.31"
futures-util = "0.3.31"
base64 = "0.22"
tower = "0.5"
futures-util = "0.3"

[build-dependencies]
tonic-prost-build = "0.14"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY web/ .
RUN pnpm run generate-translation-types
RUN pnpm build

FROM rust:1.87 AS chef
FROM rust:1 AS chef

WORKDIR /build

Expand Down Expand Up @@ -42,7 +42,7 @@ COPY proto proto
RUN cargo install --locked --path . --root /build

# run
FROM debian:bookworm-slim AS runtime
FROM debian:13-slim AS runtime
RUN apt-get update -y && \
apt-get install --no-install-recommends -y ca-certificates && \
rm -rf /var/lib/apt/lists/*
Expand Down