Skip to content

Commit 08817d4

Browse files
committed
Build and push the ubbagent image
Signed-off-by: Maël Valais <[email protected]>
1 parent adacc84 commit 08817d4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

cloudbuild.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,30 @@ steps:
5353
waitFor:
5454
- pull-webhook
5555

56+
- id: clone-ubbagent
57+
name: gcr.io/cloud-builders/gcloud
58+
entrypoint: bash
59+
args:
60+
- -exc
61+
- git clone https://github.com/GoogleCloudPlatform/ubbagent --branch 0.0.1
62+
waitFor: ["-"]
63+
64+
- id: build-ubbagent
65+
name: gcr.io/cloud-builders/docker
66+
args:
67+
- build
68+
- --tag
69+
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/ubbagent:${_CERT_MANAGER_VERSION}
70+
- "./ubbagent"
71+
waitFor: ["clone-ubbagent"]
72+
73+
- id: push-ubbagent
74+
name: gcr.io/cloud-builders/docker
75+
args:
76+
- push
77+
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/ubbagent:${_CERT_MANAGER_VERSION}
78+
waitFor: ["build-ubbagent"]
79+
5680
- id: build-deployer
5781
name: gcr.io/cloud-builders/docker
5882
args:

0 commit comments

Comments
 (0)