File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Expand file tree Collapse file tree 3 files changed +16
-6
lines changed 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 5656 steps :
5757 - uses : actions/checkout@v3
5858 - name : Docker Build
59- run : docker build . --no-cache
59+ run : docker build . --no-cache --build-arg IBC_GO_VERSION=v4.3.0
6060
6161 split-test-files :
6262 runs-on : ubuntu-latest
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
914RUN go mod download
1015
11- ADD testing testing
12- ADD modules modules
13- ADD LICENSE LICENSE
16+ COPY testing testing
17+ COPY modules modules
18+ COPY LICENSE LICENSE
1419
1520COPY Makefile .
1621
1722RUN 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