File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ WORKDIR /go/src/github.com/webdevops/kube-bootstrap-token-manager
55# Get deps (cached)
66COPY ./go.mod /go/src/github.com/webdevops/kube-bootstrap-token-manager
77COPY ./go.sum /go/src/github.com/webdevops/kube-bootstrap-token-manager
8- RUN go mod download
8+ COPY ./Makefile /go/src/github.com/webdevops/kube-pool-manager
9+ RUN make dependencies
910
1011# Compile
1112COPY ./ /go/src/github.com/webdevops/kube-bootstrap-token-manager
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ lint: $(GOLANGCI_LINT_BIN)
3636 $(GOLANGCI_LINT_BIN ) run -D megacheck -E unused,gosimple,staticcheck --timeout=10m
3737
3838dependencies : $(GOLANGCI_LINT_BIN )
39+ go mod download
3940
4041$(GOLANGCI_LINT_BIN ) :
4142 curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH ) /bin v1.23.8
You can’t perform that action at this time.
0 commit comments