Skip to content

feat: publish Tekton Bundle on release#115

Merged
vdemeester merged 1 commit into
mainfrom
feat/tekton-bundles
Jun 4, 2026
Merged

feat: publish Tekton Bundle on release#115
vdemeester merged 1 commit into
mainfrom
feat/tekton-bundles

Conversation

@vdemeester
Copy link
Copy Markdown
Member

Changes

Publish the git-clone Task as a Tekton Bundle on every release.

Release workflow additions

Three new steps in the goreleaser job, after the container image is built and before it's signed:

  1. Install tkn — via tektoncd/actions/setup-tektoncd-cli (pinned to commit SHA)
  2. Push bundletkn bundle push to ghcr.io/tektoncd-catalog/git-clone/bundle:{tag} and :latest
  3. Sign bundle — cosign signs the bundle digest (same key/flow as the container image)

Usage

taskRef:
  resolver: bundles
  params:
    - name: bundle
      value: ghcr.io/tektoncd-catalog/git-clone/bundle:v1.4.0
    - name: name
      value: git-clone
    - name: kind
      value: task

Closes #113

Submitter Checklist

Release Notes

Publish git-clone Task as a signed Tekton Bundle to ghcr.io on every release.

@tekton-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from vdemeester after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 4, 2026
@vdemeester
Copy link
Copy Markdown
Member Author

TODO before merge: Once #111 (e2e tests) lands, add a bundle e2e test to this PR.

Plan: push the bundle to ttl.sh (anonymous, auto-expires) and run a TaskRun that references it via the bundle resolver. No local registry setup needed.

tkn bundle push "ttl.sh/git-clone-e2e-${GITHUB_RUN_ID}:1h" -f task/git-clone/git-clone.yaml
taskRef:
  resolver: bundles
  params:
    - name: bundle
      value: ttl.sh/git-clone-e2e-<run-id>:1h
    - name: name
      value: git-clone

- Install tkn CLI via tektoncd/actions/setup-tektoncd-cli
- Push task as Tekton Bundle to ghcr.io, tagged with version and latest
- Sign bundle with cosign
- Add bundle e2e test: push to ttl.sh, run TaskRun via bundle resolver
- Document bundle resolver usage in README

Closes #113

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@vdemeester vdemeester force-pushed the feat/tekton-bundles branch from 8052a9d to 4788a3a Compare June 4, 2026 09:55
@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 4, 2026
@vdemeester vdemeester merged commit e35ff2c into main Jun 4, 2026
8 checks passed
@vdemeester vdemeester deleted the feat/tekton-bundles branch June 4, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish Tekton Bundles on release

2 participants