mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-14 22:43:46 +00:00
Fix config loading of cli (#3764)
This commit is contained in:
@@ -12,6 +12,7 @@ FROM docker.io/alpine:3.20
|
||||
ENV CA_CERTIFICATES_VERSION="20240226-r0"
|
||||
RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION}
|
||||
ENV GODEBUG=netdns=go
|
||||
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true
|
||||
|
||||
COPY --from=build /src/dist/woodpecker-cli /bin/
|
||||
|
||||
|
@@ -9,6 +9,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
|
||||
FROM scratch
|
||||
ENV GODEBUG=netdns=go
|
||||
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true
|
||||
|
||||
# copy certs from build image
|
||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
|
Reference in New Issue
Block a user