forked from strangelove-ventures/heighliner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsentinel.yaml
12 lines (12 loc) · 856 Bytes
/
sentinel.yaml
1
2
3
4
5
6
7
8
9
10
11
12
# Sentinel
- name: sentinel
github-organization: sentinel-official
github-repo: hub
dockerfile: cosmos
# Sentinel Makefile does not consume LDFLAGS or BUILD_TAGS env vars.
build-target: |
BUILD_TAGS=netgo,muslc
LD_FLAGS="-s -w -X github.com/cosmos/cosmos-sdk/version.Name=sentinel -X github.com/cosmos/cosmos-sdk/version.AppName=sentinelhub -X github.com/cosmos/cosmos-sdk/version.Version=$(echo $(git describe --tags) | sed 's/^v//') -X github.com/cosmos/cosmos-sdk/version.Commit=$(git log -1 --format='%H') -X github.com/cosmos/cosmos-sdk/version.BuildTags=\"${BUILD_TAGS}\" -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(go list -m github.com/tendermint/tendermint | sed 's:.* ::')"
go install -mod=readonly -tags="${BUILD_TAGS}" -ldflags="$LDFLAGS ${LD_FLAGS}" ./cmd/sentinelhub
binaries:
- /go/bin/sentinelhub