Skip to content

Commit

Permalink
Add small fixes (#2493) (#2495)
Browse files Browse the repository at this point in the history
(cherry picked from commit d2a1649)

Co-authored-by: Niccolo Raspa <6024049+niccoloraspa@users.noreply.github.com>
  • Loading branch information
mergify[bot] and niccoloraspa authored Aug 23, 2022
1 parent 9444f86 commit 4d0ebc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ $(BUILDDIR)/:

build-reproducible: build-reproducible-amd64 build-reproducible-arm64

build-reproducible-amd64: go.sum
build-reproducible-amd64: go.sum $(BUILDDIR)/
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
--build-arg GO_VERSION=$(shell go list -f {{.GoVersion}} -m) \
--build-arg GO_VERSION=$(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2) \
--platform linux/arm64 \
-t osmosis-amd64 \
--load \
Expand All @@ -113,11 +113,11 @@ build-reproducible-amd64: go.sum
$(DOCKER) cp osmobinary:/bin/osmosisd $(BUILDDIR)/osmosisd-linux-amd64
$(DOCKER) rm -f osmobinary

build-reproducible-arm64: go.sum
build-reproducible-arm64: go.sum $(BUILDDIR)/
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
--build-arg GO_VERSION=$(shell go list -f {{.GoVersion}} -m) \
--build-arg GO_VERSION=$(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2) \
--platform linux/arm64 \
-t osmosis-arm64 \
--load \
Expand Down

0 comments on commit 4d0ebc5

Please sign in to comment.