mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
Fix ci build
This commit is contained in:
parent
ab772d645b
commit
d6e96dc3cb
@ -27,7 +27,7 @@ COPY backend /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN mkdir -p /dist \
|
||||
&& /scripts/go-multiarch-wrapper /dist/server
|
||||
&& /scripts/go-multiarch-wrapper /dist/server /dist/ipranges
|
||||
|
||||
#===============
|
||||
# Final image
|
||||
|
@ -33,7 +33,7 @@ go build \
|
||||
go build \
|
||||
-buildvcs=false \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
||||
-o "${1:-/dist/ipranges}" \
|
||||
-o "${2:-/dist/ipranges}" \
|
||||
./cmd/ipranges
|
||||
|
||||
# test binaries
|
||||
|
Loading…
Reference in New Issue
Block a user