FIX entry build go
This commit is contained in:
parent
5ebdd68f95
commit
6f907ca9ec
@ -9,7 +9,7 @@ COPY . .
|
|||||||
RUN go build -o bin/us-dop-bot \
|
RUN go build -o bin/us-dop-bot \
|
||||||
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
||||||
-X main.Version=${version} \
|
-X main.Version=${version} \
|
||||||
-X main.Aarch=${TARGETARCH}" ./cmd
|
-X main.Aarch=${TARGETARCH}" ./cmd/bot/main.go
|
||||||
|
|
||||||
FROM alpine AS runner
|
FROM alpine AS runner
|
||||||
COPY --from=builder /app/bin/us-dop-bot /usr/bin/
|
COPY --from=builder /app/bin/us-dop-bot /usr/bin/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user