Signed-off-by: Matej Vašek <mvasek@redhat.com>
This commit is contained in:
Matej Vašek 2025-08-21 15:08:48 +02:00
parent be429f2019
commit 415cc3455c
No known key found for this signature in database
GPG Key ID: 72036E3FC07BF8F1
1 changed files with 12 additions and 10 deletions

View File

@ -46,8 +46,10 @@ const (
workspace: source-workspace
- name: cache
workspace: cache-workspace
optional: true
- name: dockerconfig
workspace: dockerconfig-workspace`
workspace: dockerconfig-workspace
optional: true`
// TODO fix Tekton Hub reference
taskGitCloneTaskRef = `- name: fetch-sources
params:
@ -58,17 +60,17 @@ const (
- name: gitInitImage
value: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0
taskRef:
resolver: hub
params:
- name: kind
value: task
- name: name
value: git-clone
- name: version
value: "0.4"
kind: Task
name: git-clone
workspaces:
- name: output
workspace: source-workspace`
workspace: source-workspace
- name: cache
workspace: cache-workspace
optional: true
- name: dockerconfig
workspace: dockerconfig-workspace
optional: true`
runAfterFetchSourcesRef = `runAfter:
- fetch-sources`