diff --git a/share/gitea-tekton-org/auto-ci.tf b/share/gitea-tekton-org/auto-ci.tf index a26c5ae..062cd86 100644 --- a/share/gitea-tekton-org/auto-ci.tf +++ b/share/gitea-tekton-org/auto-ci.tf @@ -62,8 +62,7 @@ resource "kubectl_manifest" "auto-ci-detector" { - name: detect-stages image: $(params.toolbox-image) workingDir: $(workspaces.source.path) - script: ${file("${path.module}/auto-ci-detector.py")} - + script: ${jsonencode(file("${path.module}/auto-ci-detector.py"))} workspaces: - name: source mountPath: /data