golangci-lint is part of trunk, remove it. Add volume /root/.cache
continuous-integration/drone/push Build is passing Details

master
René Jochum 2 years ago
parent 051872f531
commit 4365d5760d
Signed by: jochum
GPG Key ID: F7D906F5E51E8E5E

@ -11,7 +11,7 @@ RUN apt-get update --allow-releaseinfo-change && \
# RUN go mod download
ENV GOPATH="/go"
VOLUME [ "/go", "/code" ]
VOLUME [ "/go", "/code", "/root/.cache" ]
COPY ./scripts /scripts

@ -20,9 +20,4 @@ if [[ ! -x /go/bin/trunk ]]; then
popd
fi
# Install golangci-lint
if [[ ! -x /go/bin/golangci-lint ]]; then
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /go/bin
fi
exec "$@"
Loading…
Cancel
Save