fix build coordinator workflow (#190)

Co-authored-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
3u13r 2022-06-01 17:17:37 +02:00 committed by GitHub
parent fd3008f5cc
commit 430ab6ab1f
2 changed files with 9 additions and 32 deletions

View file

@ -27,9 +27,6 @@ WORKDIR /constellation/coordinator/
ARG PROJECT_VERSION
RUN go build -o coordinator -tags=gcp,disable_tpm_simulator -buildvcs=false -ldflags "-s -w -buildid='' -X main.version=${PROJECT_VERSION}" ./cmd/coordinator/
FROM build-coordinator AS hash-coordinator
RUN mv coordinator coordinator-$(sha512sum coordinator | cut -d " " -f 1)
FROM build AS build-disk-mapper
WORKDIR /constellation/state/