https://github.com/imranismail/setup-kustomize
https://github.com/imranismail/setup-kustomize
deployment github-actions hacktoberfest javascript-action kubernetes kustomize
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/imranismail/setup-kustomize
- Owner: imranismail
- License: mit
- Created: 2019-09-04T18:03:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T10:40:29.000Z (11 months ago)
- Last Synced: 2025-04-03T04:34:51.756Z (26 days ago)
- Topics: deployment, github-actions, hacktoberfest, javascript-action, kubernetes, kustomize
- Language: TypeScript
- Homepage:
- Size: 20.3 MB
- Stars: 70
- Watchers: 2
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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.0`
_Defaults 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
```yaml
on:
push:
branches:
- masterjobs:
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
```