mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +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:
parent
691f13d2c6
commit
09583f1291
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@ steps:
|
||||||
- name: gcr.io/cloud-builders/docker
|
- name: gcr.io/cloud-builders/docker
|
||||||
args:
|
args:
|
||||||
- 'build'
|
- 'build'
|
||||||
- '--build-arg NFD_VERSION=$_GIT_TAG'
|
- '--build-arg=VERSION=$_GIT_TAG'
|
||||||
- '--build-arg HOSTMOUNT_PREFIX=/host-'
|
- '--build-arg=HOSTMOUNT_PREFIX=/host-'
|
||||||
- '-t gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
|
- '--tag=gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
|
||||||
- '-t gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
|
- '--tag=gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
|
||||||
- '.'
|
- '.'
|
||||||
substitutions:
|
substitutions:
|
||||||
_GIT_TAG: '0.0.0'
|
_GIT_TAG: '0.0.0'
|
||||||
|
|
Loading…
Add table
Reference in a new issue