build: use golang:1.16 as runtime container for retest action

It seems that building the `retest` action makes it consume shared
libraries that are not part of the `scratch` base container layer. By
using the golang:1.16 container image as a base, all required shared
libraries are available.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-11-17 14:41:30 +01:00 committed by mergify[bot]
parent 1fa8939e84
commit fac3ef01c6

View File

@ -10,7 +10,7 @@ WORKDIR ${WORK_DIR}
RUN go build -mod=vendor -o retest ./main.go
FROM scratch
FROM ${BASE_IMAGE}
ARG WORK_DIR