-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcircleci.yml
30 lines (27 loc) · 1.05 KB
/
circleci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 2
jobs:
update-krew-index:
docker:
- image: circleci/golang:1.20
environment:
## KREW_RELEASE_BOT_WEBHOOK_URL env helps you test your setup without actually publishing to kubernetes-sigs/krew-index
## remove this env when you are ready for real release
KREW_RELEASE_BOT_WEBHOOK_URL: https://krew-release-bot-dryrun.rajatjindal.com/github-action-webhook
KREW_RELEASE_BOT_VERSION: v0.0.46
steps:
- checkout
- run: |
echo "using krew-release-bot version ${KREW_RELEASE_BOT_VERSION}"
curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/${KREW_RELEASE_BOT_VERSION}/krew-release-bot_${KREW_RELEASE_BOT_VERSION}_linux_amd64.tar.gz
tar -xvf krew-release-bot_${KREW_RELEASE_BOT_VERSION}_linux_amd64.tar.gz
- run: ./krew-release-bot action
workflows:
version: 2
main:
jobs:
- update-krew-index:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/