mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
27 lines
826 B
YAML
27 lines
826 B
YAML
# See https://cloud.google.com/cloud-build/docs/build-config
|
|
|
|
# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
|
|
timeout: 3600s
|
|
options:
|
|
# job builds a multi-arch docker image for amd64 and arm64
|
|
machineType: E2_HIGHCPU_8
|
|
steps:
|
|
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20230623-56e06d7c18'
|
|
entrypoint: bash
|
|
env:
|
|
- PROW_GIT_TAG=$_GIT_TAG
|
|
- PULL_BASE_REF=$_PULL_BASE_REF
|
|
- VERSION=$_PULL_BASE_REF
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
args:
|
|
- -c
|
|
- |
|
|
echo "Building/Pushing NPD containers"
|
|
apk add musl-dev gcc
|
|
make push-container
|
|
substitutions:
|
|
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
|
|
# can be used as a substitution
|
|
_GIT_TAG: 'PLACE_HOLDER'
|
|
_PULL_BASE_REF: 'master'
|