From 953eee875d7f2c1df8968c149d7c75c46567dd1d Mon Sep 17 00:00:00 2001 From: Yoichi Kawasaki Date: Sat, 24 Feb 2024 19:06:40 +0900 Subject: [PATCH] release v0.11.0 Signed-off-by: Yoichi Kawasaki --- README.md | 22 +++++++++++++++++++--- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 03731ad..ae97e86 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Specific versions for the commands can be setup by adding inputs parameters like runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.10.0 + - uses: yokawasa/action-setup-kube-tools@v0.11.0 with: kubectl: '1.17.1' kustomize: '3.7.0' @@ -82,7 +82,7 @@ Default versions for the commands will be setup if you don't give any inputs lik runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.10.0 + - uses: yokawasa/action-setup-kube-tools@v0.11.0 - run: | kubectl version --client kustomize version @@ -103,7 +103,7 @@ By specifying setup-tools you can choose which tools the action setup. Supported runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: yokawasa/action-setup-kube-tools@v0.10.0 + - uses: yokawasa/action-setup-kube-tools@v0.11.0 with: setup-tools: | kubectl @@ -121,6 +121,22 @@ By specifying setup-tools you can choose which tools the action setup. Supported skaffold version ``` +By specifying arch-type you can choose the processor architecture type of the tool binary to setup. Supported types are only `amd64`(default) and `arm64`. + +```yaml + test: + steps: + - uses: actions/checkout@v4 + - uses: yokawasa/action-setup-kube-tools@v0.11.0 + with: + arch-type: 'arm64' + setup-tools: | + kubectl + kubectl: '1.25' + - run: | + kubectl version --client +``` + ## Developing the action diff --git a/package-lock.json b/package-lock.json index 11f101c..ad005d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "action-setup-kube-tools", - "version": "0.10.0", + "version": "0.11.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "action-setup-kube-tools", - "version": "0.10.0", + "version": "0.11.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", diff --git a/package.json b/package.json index 563bcf0..41eebfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-setup-kube-tools", - "version": "0.10.0", + "version": "0.11.0", "private": true, "description": "Github Action that install Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, etc.) and cache them on the runner", "main": "lib/main.js",