tekton-pac

Automate Tekton Pipelines as Code for Gitea repositories with BuildKit.

Updated Jun 20, 2025
One-click install
npx skills add https://github.com/rfhold/dot --skill tekton-pac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tekton-pac
Source: https://github.com/rfhold/dot/tree/main/.config/opencode/skills/tekton-pac
Command: npx skills add https://github.com/rfhold/dot --skill tekton-pac

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the setup and management of CI/CD pipelines for Gitea repositories using Tekton Pipelines as Code (PAC), enabling efficient and declarative pipeline definitions.

Core Features & Use Cases

  • Declarative Pipeline Definitions: Write Tekton PipelineRun YAML files that are automatically triggered by Gitea events.
  • Container Image Building: Build multi-arch container images using remote BuildKit daemons.
  • Gitea API Integration: Post PR comments, create releases, and manage issues directly from pipelines.
  • Use Case: Automatically build and push a Docker image whenever code is pushed to the main branch of a Gitea repository, and post a success message to the corresponding pull request.

Quick Start

Use the tekton-pac skill to define a pipeline that builds a container image when a push event occurs on the main branch.

Frequently Asked Questions about tekton-pac

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Tekton Pipelines as Code for Gitea repositories?

You can automate Tekton Pipelines as Code for Gitea by writing declarative PipelineRun YAML files that trigger automatically on Gitea webhook events, managing CI/CD workflows like container image building and PR comments.

Can I build multi-arch container images in Gitea CI/CD using BuildKit?

Yes, you can build multi-arch container images using remote BuildKit daemons integrated into your Tekton Pipelines as Code, automating the image build process directly from Gitea repository events.

Do I need Tekton and BuildKit daemons to run pipelines as code with Gitea?

Yes, operating this workflow requires Tekton, Gitea webhooks, and remote BuildKit daemons to be set up in your environment to execute the CI/CD pipelines and build container images successfully.

How does Gitea API integration work within Tekton Pipelines?

Gitea API integration within Tekton Pipelines allows you to post pull request comments, create releases, and manage issues directly from your pipeline tasks, automating repository interactions.

What is the best way to trigger a Docker image build on a Gitea push event?

The best way to trigger a Docker image build on a Gitea push event is to define a declarative Tekton PipelineRun that uses BuildKit, automatically executing when code is pushed to the main branch.