Skip to content

Commit

Permalink
Merge pull request #332 from marquiz/devel/gcb
Browse files Browse the repository at this point in the history
Add cloudbuild.yaml
  • Loading branch information
k8s-ci-robot authored Aug 21, 2020
2 parents 26c3cf9 + 9e6bef4 commit c24112b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit c24112b

Please sign in to comment.