mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05: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:
|
with:
|
||||||
name: kmsserver
|
name: kmsserver
|
||||||
projectVersion: '0.0.0'
|
projectVersion: '0.0.0'
|
||||||
dockerfile: kms/server/Dockerfile
|
dockerfile: kms/Dockerfile
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
|||||||
"activation-service" )
|
"activation-service" )
|
||||||
echo "microServiceDockerfile=activation/Dockerfile" >> $GITHUB_ENV ;;
|
echo "microServiceDockerfile=activation/Dockerfile" >> $GITHUB_ENV ;;
|
||||||
"kmsserver" )
|
"kmsserver" )
|
||||||
echo "microServiceDockerfile=kms/server/Dockerfile" >> $GITHUB_ENV ;;
|
echo "microServiceDockerfile=kms/Dockerfile" >> $GITHUB_ENV ;;
|
||||||
"verification-service" )
|
"verification-service" )
|
||||||
echo "microServiceDockerfile=verify/Dockerfile" >> $GITHUB_ENV ;;
|
echo "microServiceDockerfile=verify/Dockerfile" >> $GITHUB_ENV ;;
|
||||||
esac
|
esac
|
||||||
|
@ -23,7 +23,7 @@ RUN rm -rf ./hack/
|
|||||||
|
|
||||||
# Build
|
# Build
|
||||||
RUN mkdir -p /constellation/build
|
RUN mkdir -p /constellation/build
|
||||||
WORKDIR /constellation/kms/server/cmd
|
WORKDIR /constellation/kms/cmd
|
||||||
ARG PROJECT_VERSION=0.0.0
|
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}"
|
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