mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
Fix disk-mapper version injection (#592)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
ade8fa323f
commit
7b3cb5362a
@ -30,6 +30,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build go build -o bootstrapper -ta
|
||||
FROM build AS build-disk-mapper
|
||||
WORKDIR /constellation/disk-mapper/
|
||||
|
||||
ARG PROJECT_VERSION
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build go build -o disk-mapper -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/v2/internal/constants.VersionInfo=${PROJECT_VERSION}" ./cmd/
|
||||
|
||||
FROM scratch AS bootstrapper
|
||||
|
Loading…
Reference in New Issue
Block a user