Drone plugin to run pre-commit hooks
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
ARG BASE_IMAGE=iamthefij/drone-pre-commit |
|
FROM ${BASE_IMAGE}:base |
|
|
|
# Add helper scripts |
|
COPY ./scripts /scripts |
|
|
|
ENV PATH=$PATH:/usr/local/go/bin |
|
RUN /scripts/add_golang.sh && \ |
|
/scripts/add_hadolint.sh && \ |
|
/scripts/add_golangci_lint.sh
|
|
|