This repository holds official GitHub actions to be used in your GitHub Workflows.
Action to rollout Tekton Pipeline, CLI (tkn
) and a Container-Registry instance, setting up the environment for testing using these components.
Example usage below with inputs using default values:
---
jobs:
setup-tektoncd:
steps:
# using KinD to provide the Kubernetes instance and kubectl
- uses: helm/[email protected]
with:
cluster_name: kind
# setting up Tekton Pipelines, CLI and additional components...
- uses: tektoncd/actions/setup-tektoncd@main
with:
pipeline_version: latest
setup_registry: "true"
patch_etc_hosts: "true"
See more on setup-tektoncd/README.md
.
Action to install the Tekton CLI (tkn
).
Example usage below with inputs using some default values:
---
jobs:
setup-tektoncd-cli:
steps:
- uses: tektoncd/actions/setup-tektoncd-cli@main
with:
version: latest
By default the action is set to install latest
release, use the version
input for a specific target.