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 7cfa174
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .goreleaser.yml
Expand Up @@ -55,6 +55,31 @@ 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}}"
- "-s -w -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 7cfa174

Please sign in to comment.