yokawasa / action-setup-kube-tools

Github Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold) very fast and cache them on the runner. Please [✩Star] if you're using it!
MIT License
75 stars 22 forks source link

Support arch type #53

Closed yokawasa closed 7 months ago

yokawasa commented 7 months ago

Overview

Add new arch-type parameter for the processor architecture type of the tool binary to setup.

  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

Relevant issue: https://github.com/yokawasa/action-setup-kube-tools/issues/47

Test: https://github.com/yokawasa/action-setup-kube-tools/actions/runs/8026979321/job/21930328628