mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Add cloudbuild.yaml
Basic google cloud build configuration.
This commit is contained in:
parent
ee8a087f9f
commit
9e6bef4b71
1 changed files with 18 additions and 0 deletions
18
cloudbuild.yaml
Normal file
18
cloudbuild.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
steps:
|
||||||
|
- name: gcr.io/cloud-builders/docker
|
||||||
|
args:
|
||||||
|
- 'build'
|
||||||
|
- '--build-arg NFD_VERSION=$_GIT_TAG'
|
||||||
|
- '--build-arg HOSTMOUNT_PREFIX=/host-'
|
||||||
|
- '-t k8s.gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
|
||||||
|
- '-t k8s.gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
|
||||||
|
- '.'
|
||||||
|
substitutions:
|
||||||
|
_GIT_TAG: '0.0.0'
|
||||||
|
_PULL_BASE_REF: 'master'
|
||||||
|
options:
|
||||||
|
substitution_option: ALLOW_LOOSE
|
||||||
|
# Pust images
|
||||||
|
images:
|
||||||
|
- 'k8s.gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
|
||||||
|
- 'k8s.gcr.io/$PROJECT_ID/snode-feature-discovery:master'
|
Loading…
Reference in a new issue