https://github.com/tektoncd/actions
Hold "official" Tekton GitHub Action (to be used in workflows)
https://github.com/tektoncd/actions
Last synced: 10 months ago
JSON representation
Hold "official" Tekton GitHub Action (to be used in workflows)
- Host: GitHub
- URL: https://github.com/tektoncd/actions
- Owner: tektoncd
- License: apache-2.0
- Created: 2024-02-13T13:59:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T15:26:00.000Z (almost 2 years ago)
- Last Synced: 2025-06-07T02:07:56.494Z (about 1 year ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# *Official* Tekton GitHub actions
This repository holds *official* GitHub actions to be used in your GitHub Workflows.
## `setup-tektoncd`
Action to rollout [Tekton Pipeline][githubTektonPipeline], [CLI (`tkn`)][githubTektonCLI] and a [Container-Registry][containerRegistry] instance, setting up the environment for testing using these components.
Example usage below with inputs using default values:
```yaml
---
jobs:
setup-tektoncd:
steps:
# using KinD to provide the Kubernetes instance and kubectl
- uses: helm/kind-action@v1.5.0
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`](./setup-tektoncd).
## `setup-tektoncd-cli`
Action to install the [Tekton CLI (`tkn`)][githubTektonCLI].
Example usage below with inputs using some default values:
```yaml
---
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.
[containerRegistry]: https://docs.docker.com/registry/spec/api/
[githubTektonPipeline]: https://github.com/tektoncd/pipeline
[githubTektonCLI]: https://github.com/tektoncd/cli