File tree 3 files changed +29
-3
lines changed
3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM golang:1.13.4 as builder
15
+ FROM golang:1.13.15 as builder
16
16
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
17
17
ADD . .
18
18
RUN make
@@ -22,7 +22,7 @@ FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3 as base
22
22
RUN clean-install udev
23
23
24
24
# Start from Kubernetes Debian base
25
- FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
25
+ FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
26
26
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
27
27
# Install necessary dependencies
28
28
RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
ARG BASE_IMAGE
16
- FROM --platform=$BUILDPLATFORM golang:1.13.4 AS builder
16
+ FROM --platform=$BUILDPLATFORM golang:1.13.15 AS builder
17
17
18
18
ARG TARGETPLATFORM
19
19
ARG BUILDPLATFORM
Original file line number Diff line number Diff line change
1
+ # See https://cloud.google.com/cloud-build/docs/build-config
2
+ # For more information about Image pushing refer to https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
3
+ timeout : 3600s
4
+
5
+ options :
6
+ substitution_option : ALLOW_LOOSE
7
+
8
+ steps :
9
+ - name : ' gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f'
10
+ entrypoint : make
11
+ env :
12
+ - GCE_PD_CSI_STAGING_IMAGE=gcr.io/${_STAGING_PROJECT}/gcp-compute-persistent-disk-csi-driver
13
+ - GCE_PD_CSI_STAGING_VERSION=${_PULL_BASE_REF}
14
+ # default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
15
+ # set the home to /root explicitly to if using docker buildx
16
+ - HOME=/root
17
+ args :
18
+ - build-and-push-multi-arch
19
+
20
+ substitutions :
21
+ _STAGING_PROJECT : ' k8s-staging-cloud-provider-gcp'
22
+ _PULL_BASE_REF : ' master'
23
+
24
+ tags :
25
+ - ' gcp-compute-persistent-disk-csi-driver'
26
+ - ${_PULL_BASE_REF}
You can’t perform that action at this time.
0 commit comments