We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5345a85 commit 13c69c8Copy full SHA for 13c69c8
Makefile
@@ -109,7 +109,17 @@ else
109
GO111MODULE=on go build -o $(GOPATH)/bin/golangci-lint ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint
110
endif
111
112
-install-tools: install-golangci-lint install-go-junit-report install-setup-envtest
+SKOPEO := $(shell command -v skopeo 2> /dev/null)
113
+install-skopeo:
114
+ifdef SKOPEO
115
+ @echo "Found skopeo"
116
+ skopeo --version
117
+else
118
+ @echo "Installing skopeo"
119
+ dnf install -y skopeo
120
+endif
121
+
122
+install-tools: install-golangci-lint install-go-junit-report install-setup-envtest install-skopeo
123
124
# Runs golangci-lint
125
lint: install-tools
0 commit comments