Skip to content

Commit

Permalink
Fix missing kpt cli from release action
Browse files Browse the repository at this point in the history
  • Loading branch information
kispaljr committed Nov 25, 2024
1 parent f732f02 commit 0fa2018
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
- "v[0-9]+.[0-9]+.[0-9]"
- "v[0-9]+.[0-9]+.[0-9]-pre[0-9]+"

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -29,14 +31,18 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.2'
go-version: ">=1.22.2"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0


- name: Download kpt CLI
run: mkdir -p bin && curl -v -o bin/kpt https://github.com/kptdev/kpt/releases/download/v1.0.0-beta.55/kpt_linux_amd64 && chmod +x bin/kpt

- name: Build porch blueprint
run: IMAGE_REPO=docker.io/nephio IMAGE_TAG=${{ github.ref_name }} make deployment-config
run: PATH=./bin:$PATH IMAGE_REPO=docker.io/nephio IMAGE_TAG=${{ github.ref_name }} make deployment-config

- name: Run GoReleaser
id: run-goreleaser
Expand Down

0 comments on commit 0fa2018

Please sign in to comment.