File tree Expand file tree Collapse file tree 5 files changed +19
-157
lines changed
Expand file tree Collapse file tree 5 files changed +19
-157
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5151 context : .
5252 push : true
5353 tags : ${{ steps.meta.outputs.tags }}
54- labels : ${{ steps.meta.outputs.labels }}
54+ build-args : |
55+ IBC_GO_VERSION=${{ github.ref_name }}
Original file line number Diff line number Diff line change 5252 - name : Build
5353 run : GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build
5454
55+ docker-build :
56+ runs-on : ubuntu-latest
57+ steps :
58+ - uses : actions/checkout@v3
59+ - name : Docker Build
60+ run : docker build . --no-cache --build-arg IBC_GO_VERSION=v5.2.0
61+
5562 split-test-files :
5663 runs-on : ubuntu-latest
5764 steps :
Original file line number Diff line number Diff line change 1- FROM golang:1.18 as builder
1+ FROM golang:1.19 as builder
2+
3+ ARG IBC_GO_VERSION
24
35ENV GOPATH=""
46ENV GOMODULE="on"
57
8+ # ensure the ibc go version is being specified for this image.
9+ RUN test -n "${IBC_GO_VERSION}"
10+
611COPY go.mod .
712COPY go.sum .
813
@@ -18,6 +23,10 @@ RUN make build
1823
1924FROM ubuntu:20.04
2025
26+ ARG IBC_GO_VERSION
27+
28+ LABEL "org.cosmos.ibc-go" "${IBC_GO_VERSION}"
29+
2130COPY --from=builder /go/build/simd /bin/simd
2231
2332ENTRYPOINT ["simd" ]
You can’t perform that action at this time.
0 commit comments