Skip to content

Commit 8e680b1

Browse files
committed
cloud build: use files from csi-release-tools
1 parent c640808 commit 8e680b1

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

cloudbuild.yaml

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

cmd/csi-snapshotter/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 Snapshotter Sidecar"
4+
ARG binary=./bin/csi-snapshotter
45

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

cmd/snapshot-controller/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="Snapshot Controller"
4+
ARG binary=./bin/snapshot-controller
45

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

0 commit comments

Comments
 (0)