From 3eac29f760f39d8f1d9c3bf6772f35a02d7e771a Mon Sep 17 00:00:00 2001 From: ucpr Date: Sun, 26 May 2024 04:59:28 +0900 Subject: [PATCH] chore: update image version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d1e9c22..d1ec36a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## Buidler -FROM golang:1.21.4-alpine3.18 AS builder +FROM golang:1.22.3-alpine3.18 AS builder ARG VERSION ARG REVISION @@ -7,7 +7,7 @@ ARG TIMESTAMP WORKDIR /app -COPY ./ ./ +COPY . . RUN go mod download && go build -ldflags "-X github.com/ucpr/mongo-streamer/pkg/stamp.BuildVersion=${VERSION} -X github.com/ucpr/mongo-streamer/pkg/stamp.BuildRevision=${REVISION} -X github.com/ucpr/mongo-streamer/pkg/stamp.BuildTimestamp=${TIMESTAMP}" -o ./build/mongo-streamer ./cmd