mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Merge branch 'add-golangci-lint-v1.51' into 'master'
Add golangci-lint version 1.51 See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/654 Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com> Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com> Co-authored-by: Mirko Grönroos <mirko.gronroos@verkkokauppa.com>
This commit is contained in:
commit
721134d37f
2 changed files with 8 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ terraform:
|
|||
golangci-lint-1.50-alpine:
|
||||
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
|
||||
gitlab-operator-build-base-golang-1.18:
|
||||
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