mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-17 13:53:41 +00:00
ci: fix Dockerfile build args
This commit is contained in:
1 parent
7d5e503894
commit
c62d6be3da
1 file changed
+2
-2
+2
-2
@@ -13,8 +13,8 @@ COPY . .
|
|||||||
COPY --from=flutter /app/build/web ./cmd/web/dist
|
COPY --from=flutter /app/build/web ./cmd/web/dist
|
||||||
ARG VERSION=dev
|
ARG VERSION=dev
|
||||||
RUN CGO_ENABLED=0 go build -tags nosqlite,web -ldflags="-s -w" \
|
RUN CGO_ENABLED=0 go build -tags nosqlite,web -ldflags="-s -w" \
|
||||||
-X github.com/GopeedLab/gopeed/pkg/base.Version=${VERSION} \
|
-X github.com/GopeedLab/gopeed/pkg/base.Version=$VERSION \
|
||||||
-X github.com/GopeedLab/gopeed/pkg/base.InDocker=${IN_DOCKER} \
|
-X github.com/GopeedLab/gopeed/pkg/base.InDocker=$IN_DOCKER \
|
||||||
-o dist/gopeed github.com/GopeedLab/gopeed/cmd/web
|
-o dist/gopeed github.com/GopeedLab/gopeed/cmd/web
|
||||||
|
|
||||||
FROM alpine:3.14.2
|
FROM alpine:3.14.2
|
||||||
|
|||||||
Reference in new issue
Block a user