Skip to content

Commit

Permalink
add action
Browse files Browse the repository at this point in the history
  • Loading branch information
Salka1988 committed Apr 22, 2024
1 parent 555f902 commit 845773d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions firehose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ COPY ./firehose-extract/ ./firehose-extract/
RUN cargo build --release

FROM golang:1.22-alpine as go_build
COPY ./firehose-core/ ./firehose-core/
COPY ./substreams/ ./substreams/
COPY --from=extract_builder /app/firehose-extract ./firehose-extract/
COPY --from=extract_builder /app/substreams ./substreams/
WORKDIR firehose-core
RUN go mod download
ARG VERSION="dev"
RUN apk --no-cache add git
COPY ./firehose-core/ ./firehose-core/
RUN go build -v -ldflags "-X main.version=${VERSION}" -o /firehose-core/firecore ./cmd/firecore

# Final stage
Expand Down

0 comments on commit 845773d

Please sign in to comment.