Skip to content

Commit

Permalink
fix: fixing build CI for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking committed Jul 8, 2024
1 parent 33cf773 commit e14ea56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
build-args: BINARY_VERSION=${{ steps.meta.outputs.labels.org.opencontainers.image.version }}


- name: Debug tags
run: |
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM golang:1.22-alpine3.18 as builder
ARG BINARY_VERSION

RUN set -eux; apk add --no-cache git libusb-dev linux-headers gcc musl-dev make;

Expand All @@ -19,7 +20,7 @@ COPY go.sum .

RUN go mod download

RUN make build
RUN GOOS=linux GOARCH=amd64 LEDGER_ENABLED=false go build -mod=readonly -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=sim -X github.com/cosmos/cosmos-sdk/version.AppName=simd -X github.com/cosmos/cosmos-sdk/version.Version= -X github.com/cosmos/cosmos-sdk/version.Commit= -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger," -w -s' -trimpath -o /go/build/ ./...

FROM alpine:3.18

Expand Down

0 comments on commit e14ea56

Please sign in to comment.