Fail the gate, daily and before each release, on a known vulnerability in the Go release or the module

This commit is contained in:
2026-10-14 12:09:59 +02:00
committed by Lillem4n
parent d849a87205
commit 117f685939
4 changed files with 22 additions and 1 deletions
+5
View File
@@ -11,6 +11,11 @@ RUN go vet ./... && \
go run github.com/fzipp/gocyclo/cmd/gocyclo@v0.6.0 -over 14 -ignore _test . && \
go test -race ./...
FROM golang:${GO_VERSION} AS vulnerabilities
WORKDIR /app
COPY . .
RUN go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -scan module
FROM python:3.14.8-slim AS release-tooling
COPY release-tooling/ /release-tooling/
RUN python3 -m unittest discover -s /release-tooling -p '*_test.py' && touch /tested