File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ WORKDIR /go/src/github.com/openshift-pipelines/manual-approval-gate
7
7
COPY . .
8
8
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
9
9
ENV GODEBUG="http2server=0"
10
+ ENV GOEXPERIMENT=strictfipsruntime
10
11
RUN git rev-parse HEAD > /tmp/HEAD
11
12
RUN CGO_ENABLED=0 \
12
- go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -v -o /tmp/manual-approval-gate-controller \
13
+ go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime - v -o /tmp/manual-approval-gate-controller \
13
14
./cmd/controller
14
15
15
16
FROM $RUNTIME
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ WORKDIR /go/src/github.com/openshift-pipelines/manual-approval-gate
7
7
COPY . .
8
8
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
9
9
ENV GODEBUG="http2server=0"
10
+ ENV GOEXPERIMENT=strictfipsruntime
10
11
RUN git rev-parse HEAD > /tmp/HEAD
11
12
RUN CGO_ENABLED=0 \
12
- go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -v -o /tmp/manual-approval-gate-webhook \
13
+ go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime - v -o /tmp/manual-approval-gate-webhook \
13
14
./cmd/webhook
14
15
15
16
FROM $RUNTIME
You can’t perform that action at this time.
0 commit comments