Skip to content

Commit 3cedd5d

Browse files
committedJun 2, 2020
cloud build: use files from csi-release-tools
1 parent 6bc6023 commit 3cedd5d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
 

‎.cloudbuild.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release-tools/cloudbuild.sh

‎Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM gcr.io/distroless/static:latest
22
LABEL maintainers="Kubernetes Authors"
33
LABEL description="CSI External Provisioner"
4+
ARG binary=./bin/csi-provisioner
45

5-
COPY ./bin/csi-provisioner csi-provisioner
6+
COPY ${binary} csi-provisioner
67
ENTRYPOINT ["/csi-provisioner"]

‎cloudbuild.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release-tools/cloudbuild.yaml

‎extras/docker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM alpine
22
LABEL maintainers="Kubernetes Authors"
33
LABEL description="CSI Provisioner"
4+
ARG binary=csi-provisioner
45

5-
COPY csi-provisioner /csi-provisioner
6+
COPY ${binary} /csi-provisioner
67
ENTRYPOINT ["/csi-provisioner"]

0 commit comments

Comments
 (0)
Please sign in to comment.