1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #338 from marquiz/devel/gcb

cloudbuild.yaml: fix docker build arguments
This commit is contained in:
Kubernetes Prow Robot 2020-08-31 13:27:50 -07:00 committed by GitHub
commit 48de708b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,11 @@ 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'
- '--tag=gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF-g$COMMIT_SHA'
- '.'
substitutions:
_GIT_TAG: '0.0.0'
@ -16,3 +17,4 @@ options:
images:
- 'gcr.io/$PROJECT_ID/node-feature-discovery:$_GIT_TAG'
- 'gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF'
- 'gcr.io/$PROJECT_ID/node-feature-discovery:$_PULL_BASE_REF-g$COMMIT_SHA'