Skip to content

Commit

Permalink
fixes for Validate krew-index manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Dec 27, 2023
1 parent 1f020e0 commit ad454bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- run: go test -v ./...
- name: Validate krew-index manifest
run: |
TAG=$(curl -sL https://github.com/boz/kail/releases/latest -H "Accept: application/json" | jq -r .tag_name)
go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
docker run --rm -v ./.krew/tail.yaml:/tmp/template-file.yaml ghcr.io/rajatjindal/krew-release-bot:latest krew-release-bot template --tag $(git describe --abbrev=0 --tags) --template-file /tmp/template-file.yaml 1>/tmp/tail.yaml
docker run --rm -v ./.krew/tail.yaml:/tmp/template-file.yaml ghcr.io/rajatjindal/krew-release-bot:latest krew-release-bot template --tag ${TAG} --template-file /tmp/template-file.yaml 1>/tmp/tail.yaml
~/go/bin/validate-krew-manifest -manifest /tmp/tail.yaml

0 comments on commit ad454bb

Please sign in to comment.