Fix ci build

This commit is contained in:
Jamie Curnow 2023-05-12 09:58:50 +10:00
parent ab772d645b
commit d6e96dc3cb
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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