-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
amitz
committed
Mar 18, 2024
1 parent
5f27d01
commit f358c7f
Showing
3 changed files
with
36 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# Feel free to remove those if you don't want/need to use them. | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj | ||
|
||
project_name: lavad | ||
before: | ||
hooks: | ||
# You may remove this if you don't use go modules. | ||
|
@@ -15,7 +15,6 @@ before: | |
|
||
builds: | ||
- id: lavad | ||
binary: lavad | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
|
@@ -25,27 +24,22 @@ builds: | |
goarch: | ||
- amd64 | ||
- arm64 | ||
|
||
dockers: | ||
- image_templates: ["us-central1-docker.pkg.dev/lavanet/lavad:{{ .Version }}"] | ||
dockerfile: Dockerfile | ||
use: buildx | ||
build_flag_templates: | ||
- --label=org.opencontainers.image.title={{ .ProjectName }} | ||
- --label=org.opencontainers.image.description={{ .ProjectName }} | ||
- --label=org.opencontainers.image.url=https://github.com/lavanet/lava | ||
- --label=org.opencontainers.image.source=https://github.com/lavanet/lava | ||
- --label=org.opencontainers.image.version={{ .Version }} | ||
- --label=org.opencontainers.image.created={{ .Date }} | ||
- --label=org.opencontainers.image.revision={{ .FullCommit }} | ||
- --label=org.opencontainers.image.licenses=Apache | ||
- "--build-arg=LAVA_BINARY=lavad" | ||
ignore: | ||
- goos: darwin | ||
goarch: s390x | ||
- goos: darwin | ||
goarch: ppc64le | ||
- goos: windows | ||
goarch: s390x | ||
- goos: windows | ||
goarch: ppc64le | ||
- goos: windows | ||
goarch: arm64 | ||
|
||
nfpms: | ||
- id: lavad | ||
maintainer: Amit <[email protected]> | ||
|
||
|
||
archives: | ||
- format: tar.gz | ||
# this name template makes the OS and Arch compatible with the results of `uname`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters