Skip to content

Commit

Permalink
install buf using go
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed May 8, 2024
1 parent 46de719 commit f44406f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/container-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ jobs:
with:
chain: pocket-network
dockerfile: cosmos
# platform: linux/arm64,linux/amd64
platform: linux/arm64,linux/amd64
pre-build: |
apk add gcompat buf
make -d ignite_install
make -d proto_regen
make -d heighliner_pre_build
build-target: |
make -d install
binaries: |
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,10 @@ ignite_install: ## Install ignite. Used by CI and heighliner.
rm ignite_28.3.0_$(OS)_$(ARCH).tar.gz; \
ignite version

.PHONY: heighliner_pre_build
heighliner_pre_build: ignite_install proto_regen # Steps to execute during pre-build phase in heighliner. Having this step here makes it so we don't need to submit a PR on their side if we want to change something.
apk add gcompat
go install github.com/bufbuild/buf/cmd/[email protected]

#####################
### Documentation ###
Expand Down

0 comments on commit f44406f

Please sign in to comment.