cloud build: use files from csi-release-tools

This commit is contained in:
Patrick Ohly
2020-06-02 20:25:15 +02:00
parent c64080867c
commit 8e680b17bc
4 changed files with 6 additions and 2 deletions

1
.cloudbuild.sh Symbolic link
View File

@@ -0,0 +1 @@
release-tools/cloudbuild.sh

1
cloudbuild.yaml Symbolic link
View File

@@ -0,0 +1 @@
release-tools/cloudbuild.yaml

View File

@@ -1,6 +1,7 @@
FROM gcr.io/distroless/static:latest FROM gcr.io/distroless/static:latest
LABEL maintainers="Kubernetes Authors" LABEL maintainers="Kubernetes Authors"
LABEL description="CSI External Snapshotter Sidecar" LABEL description="CSI External Snapshotter Sidecar"
ARG binary=./bin/csi-snapshotter
COPY ./bin/csi-snapshotter csi-snapshotter COPY ${binary} csi-snapshotter
ENTRYPOINT ["/csi-snapshotter"] ENTRYPOINT ["/csi-snapshotter"]

View File

@@ -1,6 +1,7 @@
FROM gcr.io/distroless/static:latest FROM gcr.io/distroless/static:latest
LABEL maintainers="Kubernetes Authors" LABEL maintainers="Kubernetes Authors"
LABEL description="Snapshot Controller" LABEL description="Snapshot Controller"
ARG binary=./bin/snapshot-controller
COPY ./bin/snapshot-controller snapshot-controller COPY ${binary} snapshot-controller
ENTRYPOINT ["/snapshot-controller"] ENTRYPOINT ["/snapshot-controller"]