Files
kubernetes/build/go-runner/cloudbuild.yaml
Davanum Srinivas 393e0952e9 New go-runner image for distroless scenarios
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-06 21:29:46 -04:00

23 lines
739 B
YAML

# See https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md for more details on image pushing process
# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
timeout: 1200s
# this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
# or any new substitutions added in the future.
options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'
steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20200422-b25d964'
entrypoint: 'bash'
dir: ./build/go-runner
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- REGISTRY=gcr.io/$PROJECT_ID
- HOME=/root
args:
- '-c'
- |
gcloud auth configure-docker \
&& make manifest