Skip to content

Commit

Permalink
More granular image references
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
  • Loading branch information
matejvasek committed Sep 5, 2024
1 parent a57e9d9 commit 042b87c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/pipelines/tekton/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
)

var DeployerImage = "ghcr.io/knative/func-utils:latest"
var ScaffoldImage = "ghcr.io/knative/func-utils:latest"
var S2IImage = "ghcr.io/knative/func-utils:latest"

func getBuildpackTask() string {
return `apiVersion: tekton.dev/v1
Expand Down Expand Up @@ -377,7 +379,7 @@ spec:
name: gen-source
- emptyDir: {}
name: env-vars
`, DeployerImage)
`, S2IImage)
}

func getDeployTask() string {
Expand Down Expand Up @@ -435,7 +437,7 @@ spec:
image: %s
script: |
scaffold $(params.path)
`, DeployerImage)
`, ScaffoldImage)
}

// GetClusterTasks returns multi-document yaml containing tekton tasks used by func.
Expand Down

0 comments on commit 042b87c

Please sign in to comment.