mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
cloudbuild.yaml: add image tag for e2e-testing
Create a container image tag that is unique for each commit and can be easily referenced from the e2e testing side.
This commit is contained in:
parent
09583f1291
commit
0903c02438
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ steps:
|
|||
- '--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'
|
||||
|
|
Loading…
Reference in a new issue