diff --git a/README.md b/README.md index f9cf472..bf480b1 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,11 @@ oc annotate secret/quay-authentication tekton.dev/docker-0=https://quay.io ```sh oc apply -k tekton/ +for yaml in examples/*/tekton/pipeline.yaml; do oc apply -f $yaml; done ``` ## Run it! ```sh -oc create -f tekton/pipelinerun.yaml +for yaml in examples/*/tekton/pipelinerun.yaml; do oc create -f $yaml; done ``` diff --git a/examples/htop/tekton/pipeline.yaml b/examples/htop/tekton/pipeline.yaml index a7b3472..d075af9 100644 --- a/examples/htop/tekton/pipeline.yaml +++ b/examples/htop/tekton/pipeline.yaml @@ -17,6 +17,9 @@ spec: - name: context-dir type: string default: "." + - name: containerfile-path + type: string + default: "Containerfile" tasks: @@ -40,6 +43,8 @@ spec: params: - name: context-dir value: $(params.context-dir) + - name: containerfile-path + value: $(params.containerfile-path) workspaces: - name: source-workspace workspace: source-workspace @@ -53,6 +58,8 @@ spec: params: - name: context-dir value: $(params.context-dir) + - name: containerfile-path + value: $(params.containerfile-path) workspaces: - name: source-workspace workspace: source-workspace diff --git a/examples/htop/tekton/pipelinerun.yaml b/examples/htop/tekton/pipelinerun.yaml index 945a08a..d3aca80 100644 --- a/examples/htop/tekton/pipelinerun.yaml +++ b/examples/htop/tekton/pipelinerun.yaml @@ -12,6 +12,8 @@ spec: value: quay.io/nmasse_itix/htop-multiarch - name: context-dir value: examples/htop/src + - name: containerfile-path + value: "examples/htop/src/Containerfile" workspaces: - name: oci-images volumeClaimTemplate: