mirror of
https://github.com/gogs/gogs.git
synced 2026-05-28 21:30:36 +00:00
chore: remove Taskfile usage (#8280)
This commit is contained in:
+3
-2
@@ -18,8 +18,9 @@ WORKDIR /gogs.io/gogs
|
||||
COPY . .
|
||||
COPY --from=webbuilder /src/public/dist ./public/dist
|
||||
|
||||
RUN ./docker/build/install-task.sh
|
||||
RUN TAGS="pam prod" task build
|
||||
RUN go build -v -trimpath -tags "pam prod" \
|
||||
-ldflags "-X 'gogs.io/gogs/internal/conf.BuildTime=$(date -u '+%Y-%m-%d %I:%M:%S %Z')' -X 'gogs.io/gogs/internal/conf.BuildCommit=$(git rev-parse HEAD)'" \
|
||||
-o .bin/gogs ./cmd/gogs
|
||||
|
||||
FROM alpine:3.23
|
||||
|
||||
|
||||
Reference in New Issue
Block a user