Skip to content
play

GitHub Action

kargo-render-by-akuity

v0.1.0-rc.35 Pre-release

kargo-render-by-akuity

play

kargo-render-by-akuity

Publish rendered manifests to an environment branch

Installation

Copy and paste the following snippet into your .yml file.

              

- name: kargo-render-by-akuity

uses: akuity/[email protected]

Learn more about this action in akuity/kargo-render-action

Choose a version

Kargo Render for GitHub Actions

Use Kargo Render for GitHub Actions along with Kustomize or Helm to pre-render environment-specific configuration into (plain YAML) Kubernetes manifests committed (or PR'ed) to environment-specific branches that are easily consumed by your favorite GitOps platform.


🟡  Both Kargo Render and its GitHub Action are highly experimental at this time and breaking changes should be anticipated between pre-GA minor releases.

Getting Started

First learn about Kargo Render in our docs.

Then, integrate with GitHub Actions. In this simple example, every commit to the main branch results in environment-specific configuration being rendered and written to the env/dev, env/stage, and env/prod branches.

name: Commit Workflow

on:
  push:
    branches:
    - main

permissions: 
  contents: write
  pull-requests: write # Optional, depending on your workflow

jobs:
  render-manifests:
    name: Render and Commit Manifests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        targetBranch:
        - env/dev
        - env/stage
        - env/prod
    steps:
    - name: Render and Commit Manifests
      uses: akuity/[email protected]
      with:
        personalAccessToken: ${{ secrets.GITHUB_TOKEN }}
        targetBranch: ${{ matrix.targetBranch }}

Contributing

Kargo Render for GitHub Actions accepts contributions via GitHub pull requests.

Support & Feedback

To report an issue, request a feature, or ask a question, please open an issue here.

Code of Conduct

Participation in Kargo Render for GitHub Actions is governed by the Contributor Covenant Code of Conduct.