chore(deps): pin dependencies
This commit is contained in:
1 parent
5beb9f6451
commit
866e4c2313
3 files changed
+5
-5
No files matched your search
@@ -58,7 +58,7 @@ jobs:
|
|||||||
# Targets of the database checks; SQL Server is left to local runs,
|
# Targets of the database checks; SQL Server is left to local runs,
|
||||||
# its image is too large for ephemeral runners.
|
# its image is too large for ephemeral runners.
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11
|
image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: checkpw
|
MARIADB_ROOT_PASSWORD: checkpw
|
||||||
MARIADB_DATABASE: shop
|
MARIADB_DATABASE: shop
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
# once the PACKAGE_TOKEN secret (write:package) exists.
|
# once the PACKAGE_TOKEN secret (write:package) exists.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker:cli
|
image: docker:cli@sha256:34507eb5069d8be82c95dd3b6987d4250fd5fee49b82e2509b7d7a7030740d6d
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183
|
||||||
FROM node:24-alpine AS web
|
FROM node:24-alpine AS web
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY package.json package-lock.json ./
|
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}" \
|
-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/...
|
-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/
|
COPY --from=build /out/ /usr/local/bin/
|
||||||
USER nonroot
|
USER nonroot
|
||||||
ENTRYPOINT ["/usr/local/bin/api"]
|
ENTRYPOINT ["/usr/local/bin/api"]
|
||||||
+1
-1
@@ -53,7 +53,7 @@ services:
|
|||||||
# Databases the database checks are tested against:
|
# Databases the database checks are tested against:
|
||||||
# docker compose --profile checks up -d --wait
|
# docker compose --profile checks up -d --wait
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11
|
image: mariadb:11@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc
|
||||||
profiles: [checks]
|
profiles: [checks]
|
||||||
environment: {MARIADB_ROOT_PASSWORD: checkpw, MARIADB_DATABASE: shop}
|
environment: {MARIADB_ROOT_PASSWORD: checkpw, MARIADB_DATABASE: shop}
|
||||||
ports: ["13306:3306"]
|
ports: ["13306:3306"]
|
||||||
|
|||||||
Reference in new issue
Block a user