-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a file to build ICS chains correctly
- Loading branch information
1 parent
bdf5baa
commit b31e33c
Showing
2 changed files
with
23 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -51,8 +51,10 @@ jobs: | |
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Check out repo | ||
uses: actions/checkout@v3 | ||
- name: Build and push Docker image | ||
uses: strangelove-ventures/[email protected].2 | ||
uses: strangelove-ventures/[email protected].3 | ||
with: | ||
chain: ics | ||
tag: ${{ matrix.release }} | ||
|
@@ -61,3 +63,4 @@ jobs: | |
github-repo: interchain-security | ||
additional-args: "--go-version=1.22.8" | ||
heighliner-tag: v1.7.0 | ||
chains-spec-file: ./ics-chains.yaml |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is for heighliner to know how to build ics with interchain-security-sd and -cdd | ||
|
||
- name: ics | ||
github-organization: cosmos | ||
github-repo: interchain-security | ||
dockerfile: cosmos | ||
build-target: | | ||
export GOFLAGS='-buildmode=pie' | ||
export CGO_CPPFLAGS="-D_FORTIFY_SOURCE=2" | ||
export CGO_LDFLAGS="-Wl,-z,relro,-z,now -fstack-protector" | ||
go install -ldflags="$LDFLAGS" ./cmd/interchain-security-pd | ||
go install -ldflags="$LDFLAGS" ./cmd/interchain-security-cd | ||
go install -ldflags="$LDFLAGS" ./cmd/interchain-security-cdd | ||
go install -ldflags="$LDFLAGS" ./cmd/interchain-security-sd | ||
binaries: | ||
- /go/bin/interchain-security-pd | ||
- /go/bin/interchain-security-cd | ||
- /go/bin/interchain-security-cdd | ||
- /go/bin/interchain-security-sd |