Skip to content

Commit 6adc07f

Browse files
authored
fix: dockerfile: copy encryption providers to final stage (#1800)
Signed-off-by: Grant Linville <[email protected]>
1 parent d7ef12b commit 6adc07f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ COPY gcp-encryption.yaml /
5252
COPY --chmod=0755 run.sh /bin/run.sh
5353

5454
COPY --link --from=tools /app/obot-tools /obot-tools
55+
COPY --link --from=tools /bin/*-encryption-provider /bin/
5556
COPY --from=bin /app/bin/obot /bin/
5657

5758
EXPOSE 22

tools/package-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fi
137137
cd k8s-cloudkms-plugin
138138
go build -ldflags "-s -w -extldflags 'static'" -installsuffix cgo -tags netgo -o "${BIN_DIR}/gcp-encryption-provider" cmd/k8s-cloudkms-plugin/main.go
139139
OBOT_SERVER_VERSIONS="$(cat <<VERSIONS
140-
"github.com/kubernetes-sigs/gcp-encryption-provider": "$(git rev-parse --short HEAD)"
140+
"github.com/GoogleCloudPlatform/k8s-cloudkms-plugin": "$(git rev-parse --short HEAD)"
141141
${OBOT_SERVER_VERSIONS}
142142
VERSIONS
143143
)"

0 commit comments

Comments
 (0)