From 866e4c2313b6d34288c392561e2f7208b245ab5f Mon Sep 17 00:00:00 2001 From: Sebi Date: Mon, 23 Nov 2026 16:21:49 +0000 Subject: [PATCH] chore(deps): pin dependencies --- .gitea/workflows/ci.yaml | 4 ++-- Dockerfile | 4 ++-- compose.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 504a816..1b89d5b 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -58,7 +58,7 @@ jobs: # Targets of the database checks; SQL Server is left to local runs, # its image is too large for ephemeral runners. mariadb: - image: mariadb:11 + image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc env: MARIADB_ROOT_PASSWORD: checkpw MARIADB_DATABASE: shop @@ -146,7 +146,7 @@ jobs: # once the PACKAGE_TOKEN secret (write:package) exists. runs-on: ubuntu-latest container: - image: docker:cli + image: docker:cli@sha256:34507eb5069d8be82c95dd3b6987d4250fd5fee49b82e2509b7d7a7030740d6d defaults: run: shell: sh diff --git a/Dockerfile b/Dockerfile index 95d9a0f..a004c6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1 +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 FROM node:24-alpine AS web WORKDIR /src COPY package.json package-lock.json ./ @@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 go build -trimpath \ -ldflags "-s -w -X git.zb-server.de/ZB-Server/uptimesebi/internal/buildinfo.Version=${VERSION} -X git.zb-server.de/ZB-Server/uptimesebi/internal/buildinfo.Commit=${COMMIT}" \ -o /out/ ./cmd/... -FROM gcr.io/distroless/static-debian12:nonroot +FROM gcr.io/distroless/static-debian12:nonroot@sha256:afa5c872c891853ca7fcf1f12c3edb23f7eeef36189728842dd51042ff57f7ab COPY --from=build /out/ /usr/local/bin/ USER nonroot ENTRYPOINT ["/usr/local/bin/api"] diff --git a/compose.yaml b/compose.yaml index 49529bc..6390c62 100644 --- a/compose.yaml +++ b/compose.yaml @@ -53,7 +53,7 @@ services: # Databases the database checks are tested against: # docker compose --profile checks up -d --wait mariadb: - image: mariadb:11 + image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc profiles: [checks] environment: {MARIADB_ROOT_PASSWORD: checkpw, MARIADB_DATABASE: shop} ports: ["13306:3306"]