This commit is contained in:
2025-08-05 00:53:35 +09:00
parent 391d705142
commit cb0ee48bd1
2 changed files with 11 additions and 10 deletions

View File

@ -5,15 +5,10 @@ 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)
value: $(body.repository.git_http_url)
- name: git-revision
value: $(body.ref)
value: $(body.head_commit.id)
- name: commit-sha
value: $(extensions.short_sha)
value: $(body.head_commit.id)