Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

criticalstack/setup-kustomize

 
 

Repository files navigation

Due to changes in the priorities, this project is currently not being supported. The project is archived as of 11/17/21 and will be available in a read-only state. Please note, since archival, the project is not maintained or reviewed.

build-test

Description

Install any kustomize version as a step in your workflow

Usage

on:
  push:
    branches:
    - master

jobs:
  create-deployment-branch:
    runs-on: ubuntu-latest
    needs:
    - publish-image
    steps:
    - uses: imranismail/setup-kustomize@v1
      with:
        kustomize-version: "3.1.0"
    - run: git clone https://${REPO_TOKEN}@github.com/org/deployment.git .
      env:
        REPO_TOKEN: ${{secrets.REPO_TOKEN}}
    - run: git branch deployment/app/${GITHUB_REF/refs\/heads\//}
    - run: kustomize edit set image app:${GITHUB_SHA}
    - run: git add .
    - run: git commit -m "Set `app` image tag to `${GITHUB_SHA}`"
    - run: git push origin deployment/app/${GITHUB_REF/refs\/heads\//}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.7%
  • JavaScript 3.3%