1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
node-feature-discovery/cloudbuild.yaml
Markus Lehtonen 799da7cbb9 cloudbuild.yaml: build using make
Use make for building our container image (through a new push-image.sh
script) instead of building directly with docker. This way we avoid the
container image tag naming hassle where we build and push the image on
"image-pushing" prow job and need to be able to reliably re-create the
same tag on the "testing" side for end-to-end tests. This also has the
advantage that the same mechanism (make) is used everywhere, i.e. in
image-pushing, testing and locally.
2020-09-03 16:01:36 +03:00

10 lines
283 B
YAML

steps:
- name: gcr.io/k8s-testimages/gcb-docker-gcloud:v20200824-5d057db
entrypoint: scripts/test-infra/push-image.sh
env:
- IMAGE_EXTRA_TAG_NAMES=$_PULL_BASE_REF
substitutions:
_GIT_TAG: '0.0.0'
_PULL_BASE_REF: 'master'
options:
substitution_option: ALLOW_LOOSE