Skip to content

Commit 314b8a6

Browse files
committed
fix ci
1 parent 0d1630e commit 314b8a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.build/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spec:
118118
- name: labels
119119
value:
120120
- commit=$(build.git.lastCommit.id)
121-
- branch=$(build.git.branch.name)
121+
- branch=$(build.git.revision.raw)
122122
- name: nginx-build
123123
timeout: 30m
124124
retries: 3
@@ -146,7 +146,7 @@ spec:
146146
- name: labels
147147
value:
148148
- commit=$(build.git.lastCommit.id)
149-
- branch=$(build.git.branch.name)
149+
- branch=$(build.git.revision.raw)
150150
- name: nginx-test
151151
timeout: 30m
152152
retries: 3
@@ -247,7 +247,7 @@ spec:
247247
- chart-version=$(build.git.version.short)
248248
- name: annotations
249249
value:
250-
- branch=$(build.git.branch.name)
250+
- branch=$(build.git.revision.raw)
251251
- commit=$(build.git.lastCommit.id)
252252
- name: values
253253
value:
@@ -262,7 +262,7 @@ spec:
262262
- alb-test
263263
params:
264264
- name: branch
265-
value: $(build.git.branch.name)
265+
value: $(build.git.revision.raw)
266266
workspaces:
267267
- name: source
268268
workspace: source

0 commit comments

Comments
 (0)