/kustomize-build-action

GitHub Action for Kustomize builds

Primary LanguageShell

kustomize-build-action

Author: Timothy C. Arland tcarland@gmail.com Version: v1.1.2

A custom GitHub Action for building kustomize projects via a GitHub workflow.

Inputs

  • kustomize_dir - The action's only input; the target directory to build.

Example Usage

A typical workflow yaml might look as follows:

name: 'Kustomize Build Action'

on:
  push:
    tags: [ 'v*' ]
    branches: [ 'develop' ]
  pull_request:
    branches: [ 'master', 'main' ]

env:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

      - name: Build
        uses: tcarland/kustomize-build-action@v1
        with:
          kustomize_dir: './manifests'