mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Add golangci-lint version 1.51
This commit is contained in:
parent
2782aa93d6
commit
6376b7b9de
2 changed files with 8 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ terraform:
|
||||||
golangci-lint-1.50-alpine:
|
golangci-lint-1.50-alpine:
|
||||||
extends: .build_static_image
|
extends: .build_static_image
|
||||||
|
|
||||||
|
golangci-lint-1.51-alpine:
|
||||||
|
extends: .build_static_image
|
||||||
|
|
||||||
# Used by gitlab-operator: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator
|
# Used by gitlab-operator: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator
|
||||||
gitlab-operator-build-base-golang-1.18:
|
gitlab-operator-build-base-golang-1.18:
|
||||||
extends: .build_static_image
|
extends: .build_static_image
|
||||||
|
|
|
||||||
5
Dockerfile.golangci-lint-1.51-alpine
Normal file
5
Dockerfile.golangci-lint-1.51-alpine
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
FROM golangci/golangci-lint:v1.51-alpine
|
||||||
|
# git must be installed for golangci-lint's --new-from-rev flag to work.
|
||||||
|
RUN apk --no-cache add git jq bash
|
||||||
|
# Include a default .golangci.yml
|
||||||
|
COPY /assets/.golangci.yml /golangci/.golangci.yml
|
||||||
Loading…
Add table
Add a link
Reference in a new issue