From 2600d8ca56be2f60c8c12bd83ff31e26aa284456 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Wed, 26 Apr 2023 12:20:53 +0000 Subject: [PATCH] use cloudbuild to build container images --- cloudbuild.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cloudbuild.yaml diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 0000000000..9f928eb51a --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1,19 @@ +# See https://cloud.google.com/cloud-build/docs/build-config +timeout: 1800s +options: + substitution_option: ALLOW_LOOSE + machineType: E2_HIGHCPU_8 +steps: +- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20230206-8160eea68e + entrypoint: make + env: + - DOCKER_CLI_EXPERIMENTAL=enabled + - REGISTRY="gcr.io/k8s-ingress-image-push" + - VERSION=$_PULL_BASE_REF + - VERBOSE=1 + - HOME=/root + - USER=root + args: ['all-push','ALL_ARCH=amd64 arm64'] +substitutions: + _GIT_TAG: "12345" + _PULL_BASE_REF: "main"