1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

cloudbuild.yaml: fix docker build arguments

Remove whitespace from the arguments so that they'e interpreted
correctly. Also, use the correct build arg name for NFD version.
This commit is contained in:
Markus Lehtonen 2020-08-24 11:20:23 +03:00
parent 691f13d2c6
commit 09583f1291

View file

@ -2,10 +2,10 @@ steps:
- name: gcr.io/cloud-builders/docker
args:
- 'build'
- '--build-arg NFD_VERSION=$_GIT_TAG'
- '--build-arg HOSTMOUNT_PREFIX=/host-'
- '-t gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
- '-t gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
- '--build-arg=VERSION=$_GIT_TAG'
- '--build-arg=HOSTMOUNT_PREFIX=/host-'
- '--tag=gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
- '--tag=gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
- '.'
substitutions:
_GIT_TAG: '0.0.0'