mirror of
https://github.com/imranismail/setup-kustomize.git
synced 2026-05-17 10:15:23 +00:00
b662b7c06943527dbf993028b1a2150cd7c806fe
updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Description
Install any kustomize version as a step in your workflow
Options
Every argument is optional.
| Input | Description |
|---|---|
github-token |
PAT (Personal Access Token) for authorizing the repository. Defaults to ${{ github.token }} |
kustomize-version |
Semver of kustomize to use. Examples: 10.x, 10.15.1, >=10.15.0Defaults to * |
fail-fast |
When github rate limits us, fail immediately or retry after the timeout that github wishes from us? Note: When this is set to false, a github workflow might accrue a long (and possibly expensive) runtime.Defaults to true |
Usage
on:
push:
branches:
- master
jobs:
create-deployment-branch:
runs-on: ubuntu-latest
needs:
- publish-image
steps:
- uses: imranismail/setup-kustomize@v2
- run: |
kustomize edit set image app:${GITHUB_SHA}
git add .
git commit -m "Set `app` image tag to `${GITHUB_SHA}`"
git push
Languages
TypeScript
97.7%
JavaScript
2.3%