mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
Fix Docker builds (#239)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
f9a581f329
commit
b0aafd0c2a
2
.github/workflows/build-kms-image.yml
vendored
2
.github/workflows/build-kms-image.yml
vendored
@ -30,5 +30,5 @@ jobs:
|
||||
with:
|
||||
name: kmsserver
|
||||
projectVersion: '0.0.0'
|
||||
dockerfile: kms/server/Dockerfile
|
||||
dockerfile: kms/Dockerfile
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
||||
"activation-service" )
|
||||
echo "microServiceDockerfile=activation/Dockerfile" >> $GITHUB_ENV ;;
|
||||
"kmsserver" )
|
||||
echo "microServiceDockerfile=kms/server/Dockerfile" >> $GITHUB_ENV ;;
|
||||
echo "microServiceDockerfile=kms/Dockerfile" >> $GITHUB_ENV ;;
|
||||
"verification-service" )
|
||||
echo "microServiceDockerfile=verify/Dockerfile" >> $GITHUB_ENV ;;
|
||||
esac
|
||||
|
@ -23,7 +23,7 @@ RUN rm -rf ./hack/
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /constellation/build
|
||||
WORKDIR /constellation/kms/server/cmd
|
||||
WORKDIR /constellation/kms/cmd
|
||||
ARG PROJECT_VERSION=0.0.0
|
||||
RUN CGO_ENABLED=0 go build -o /constellation/build/kmsserver -trimpath -buildvcs=false -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/internal/constants.VersionInfo=${PROJECT_VERSION}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user