1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 10:28:36 +00:00

ci added for krew and goreleaser

This commit is contained in:
Yuvraj 2020-05-15 08:05:24 -07:00
parent 6b785b8ee7
commit 443675555a
2 changed files with 19 additions and 3 deletions

View file

@ -40,4 +40,4 @@ checksum:
algorithm: sha256
release:
extra_files:
- glob: ./kyverno
- glob: ./kyverno

View file

@ -41,6 +41,22 @@ deploy:
- provider: script
skip_cleanup: true
api_key: $GITHUB_OAUTH_TOKEN
script: curl -sL https://git.io/goreleaser | bash
script:
- curl -sL https://git.io/goreleaser | bash
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.38/krew-release-bot_v0.0.38_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.38_linux_amd64.tar.gz
- printenv && pwd && ls -ltr
- ./krew-release-bot action
on:
tags: true
tags: true
env:
- KREW_RELEASE_BOT_WEBHOOK_URL=https://krew-release-bot-dryrun.rajatjindal.com/github-action-webhook
sudo: false
script:
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.38/krew-release-bot_v0.0.38_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.38_linux_amd64.tar.gz
- printenv && pwd && ls -ltr
- ./krew-release-bot action