Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Add arm architecture to release #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ builds:
- linux
goarch:
- amd64
- arm
- arm64
- 386
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
Expand Down
12 changes: 12 additions & 0 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ spec:
arch: amd64
{{ addURIAndSha "https://github.com/Trendyol/kubectl-view-webhook/releases/download/{{ .TagName }}/kubectl-view-webhook_{{ .TagName }}_linux_amd64.tar.gz" .TagName | indent 6}}
bin: kubectl-view-webhook
- selector:
matchLabels:
os: linux
arch: arm64
{{ addURIAndSha "https://github.com/Trendyol/kubectl-view-webhook/releases/download/{{ .TagName }}/kubectl-view-webhook_{{ .TagName }}_linux_arm64.tar.gz" .TagName | indent 6}}
bin: kubectl-view-webhook
- selector:
matchLabels:
os: linux
arch: arm
{{ addURIAndSha "https://github.com/Trendyol/kubectl-view-webhook/releases/download/{{ .TagName }}/kubectl-view-webhook_{{ .TagName }}_linux_arm.tar.gz" .TagName | indent 6}}
bin: kubectl-view-webhook
- selector:
matchLabels:
os: linux
Expand Down