skip specified tests when build snapshot image

This commit is contained in:
MaysWind
2024-12-08 22:20:16 +08:00
parent 964ad6d046
commit 10e4bcc723
6 changed files with 28 additions and 6 deletions
+2
View File
@@ -1,7 +1,9 @@
# Build backend binary file
FROM golang:1.22.8-alpine3.20 AS be-builder
ARG RELEASE_BUILD
ARG SKIP_TESTS
ENV RELEASE_BUILD=$RELEASE_BUILD
ENV SKIP_TESTS=$SKIP_TESTS
WORKDIR /go/src/github.com/mayswind/ezbookkeeping
COPY . .
RUN docker/backend-build-pre-setup.sh