This GitHub Action installs a specific version of the kustomize command line
tool:
- name: Setup Kustomize
uses: multani/action-setup-kustomize@v1
with:
version: 4.0.2
- run: kustomize version- name: Install Kustomize
uses: multani/action-setup-kustomize@v1Then, simply run the kustomize command line tool.
By default, it will install one of the latest version.
You can also request a specific version of Kustomize:
- name: Install Kustomize
uses: multani/action-setup-kustomize@v1
with:
version: 4.5.4version: the version of Kustomize to install. The version should be an available version from the release page.
None.
The code of this action heavily borrows from the asdf installation script for Kustomize by Banno.
MIT