Skip to content

Commit

Permalink
feat: Add krane to release archive
Browse files Browse the repository at this point in the history
Signed-off-by: MisterMX <mbxd12@web.de>
  • Loading branch information
MisterMX committed Aug 24, 2022
1 parent e2d575c commit 5396b77
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .goreleaser.yml
Expand Up @@ -55,6 +55,33 @@ builds:
- goos: windows
goarch: 386

- id: krane
env:
- CGO_ENABLED=0
main: ./main.go
dir: ./cmd/krane
binary: krane
flags:
- -trimpath
ldflags:
- -s
- -w
- -X github.com/google/go-containerregistry/cmd/crane/cmd.Version={{.Version}}
- -X github.com/google/go-containerregistry/pkg/v1/remote/transport.Version={{.Version}}
goarch:
- amd64
- arm
- arm64
- 386
- s390x
goos:
- linux
- darwin
- windows
ignore:
- goos: windows
goarch: 386

archives:
- replacements:
darwin: Darwin
Expand Down

0 comments on commit 5396b77

Please sign in to comment.