This commit is contained in:
@@ -10,9 +10,17 @@ jobs:
|
|||||||
id: short-sha
|
id: short-sha
|
||||||
with:
|
with:
|
||||||
length: 10
|
length: 10
|
||||||
- uses: gerlero/brew-install@v1
|
- name: Install kpack CLI
|
||||||
with:
|
env:
|
||||||
packages: buildpacks-community/kpack-cli/kp
|
KPACK_CLI_VERSION: "0.13.0"
|
||||||
|
run: |
|
||||||
|
cd /tmp
|
||||||
|
mkdir kp-binaries
|
||||||
|
curl -L "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}" -o kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION}
|
||||||
|
curl -LO "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}.sha256"
|
||||||
|
sha256sum -c kp-linux-amd64-${KPACK_CLI_VERSION}.sha256 || exit 1
|
||||||
|
sudo mv kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION} /usr/local/bin/kp
|
||||||
|
kp version
|
||||||
- name: Configure kubectl
|
- name: Configure kubectl
|
||||||
uses: azure/k8s-set-context@v1
|
uses: azure/k8s-set-context@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user