tag test
This commit is contained in:
@ -5,10 +5,15 @@ metadata:
|
||||
name: docker-build-binding
|
||||
namespace: tekton-demo
|
||||
spec:
|
||||
interceptors:
|
||||
- cel:
|
||||
overlays:
|
||||
- key: short_sha
|
||||
expression: "body.head_commit.id.substring(0,7)"
|
||||
params:
|
||||
- name: git-url
|
||||
value: $(body.repository.clone_url)
|
||||
- name: git-revision
|
||||
value: $(body.ref)
|
||||
- name: commit-sha
|
||||
value: $(body.head_commit.id[0:7]) # ✅ 첫 7자 추출
|
||||
value: $(extensions.short_sha)
|
Reference in New Issue
Block a user