mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-16 01:59:57 -05: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
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build go build -o bootstrapper -ta
|
||||||
FROM build AS build-disk-mapper
|
FROM build AS build-disk-mapper
|
||||||
WORKDIR /constellation/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/
|
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
|
FROM scratch AS bootstrapper
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue