This commit is contained in:
parent
275fa96769
commit
7f3f096ee3
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,13 @@ steps:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- name: golangci-linter
|
||||||
|
image: golangci/golangci-lint:v1.59.1
|
||||||
|
commands:
|
||||||
|
- golangci-lint run --enable-all ./...
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
- name: vuln-check
|
- name: vuln-check
|
||||||
image: golang:1.22.4
|
image: golang:1.22.4
|
||||||
commands:
|
commands:
|
||||||
|
@ -40,6 +47,7 @@ steps:
|
||||||
- push
|
- push
|
||||||
depends_on:
|
depends_on:
|
||||||
- gofmt
|
- gofmt
|
||||||
|
- golangci-linter
|
||||||
- vuln-check
|
- vuln-check
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
|
@ -66,6 +74,7 @@ steps:
|
||||||
- push
|
- push
|
||||||
depends_on:
|
depends_on:
|
||||||
- gofmt
|
- gofmt
|
||||||
|
- golangci-linter
|
||||||
- vuln-check
|
- vuln-check
|
||||||
- name: bump tag in deployment-repo
|
- name: bump tag in deployment-repo
|
||||||
image: git.ar21.de/aaron/kustomize-ci
|
image: git.ar21.de/aaron/kustomize-ci
|
||||||
|
|
Loading…
Reference in a new issue