Fix Docker builds (#239)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-06-29 16:40:43 +02:00 committed by GitHub
parent f9a581f329
commit b0aafd0c2a
3 changed files with 3 additions and 3 deletions

View File

@ -30,5 +30,5 @@ jobs:
with:
name: kmsserver
projectVersion: '0.0.0'
dockerfile: kms/server/Dockerfile
dockerfile: kms/Dockerfile
githubToken: ${{ secrets.GITHUB_TOKEN }}

View File

@ -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

View File

@ -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}"