File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 42
42
- checkout
43
43
- setup_remote_docker
44
44
- run : docker version
45
- - run : make build
46
- - run : make test
45
+ - run : CGO_ENABLED=1 make build
46
+ - run : GOEXPERIMENT=boringcrypto make test
47
47
48
48
workflows :
49
49
version : 2
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ENV CGO_ENABLED=1
13
13
ENV GOEXPERIMENT=boringcrypto
14
14
15
15
RUN go mod tidy
16
- RUN CGO_ENABLED=1 GOEXPERIMENT=boringcrypto make build
16
+ RUN make build
17
17
RUN cp postgres_exporter /bin/postgres_exporter
18
18
19
19
FROM scratch AS scratch
Original file line number Diff line number Diff line change 1
1
# Ensure that 'all' is the default target otherwise it will be the first target from Makefile.common.
2
2
all ::
3
3
4
- export CGO_ENABLE := 1
5
- export GOEXPERIMENT := boringcrypto
6
4
# Needs to be defined before including Makefile.common to auto-generate targets
7
5
DOCKER_ARCHS ?= amd64 armv7 arm64 ppc64le
8
6
DOCKER_REPO ?= prometheuscommunity
You can’t perform that action at this time.
0 commit comments