chore: pin dependencies (actions, docker, cli) (#29460)
This commit is contained in:
parent
002e55f63b
commit
f06c09b060
8 changed files with 28 additions and 22 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# STEP 1 build ui
|
||||
FROM --platform=$BUILDPLATFORM node:24-alpine AS node
|
||||
FROM --platform=$BUILDPLATFORM node:24-alpine@sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f AS node
|
||||
|
||||
RUN apk update && apk add --no-cache make
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ RUN make ui
|
|||
|
||||
|
||||
# STEP 2 build executable binary
|
||||
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS builder
|
||||
FROM --platform=$BUILDPLATFORM golang:1.26-alpine@sha256:f85330846cde1e57ca9ec309382da3b8e6ae3ab943d2739500e08c86393a21b1 AS builder
|
||||
|
||||
# Install git + SSL ca certificates.
|
||||
# Git is required for fetching the dependencies.
|
||||
|
|
@ -68,7 +68,7 @@ RUN --mount=type=cache,target=${GOCACHE} --mount=type=cache,target=${GOMODCACHE}
|
|||
|
||||
|
||||
# STEP 3 build a small image including module support
|
||||
FROM alpine:3.22
|
||||
FROM alpine:3.22@sha256:310c62b5e7ca5b08167e4384c68db0fd2905dd9c7493756d356e893909057601
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue