mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 08:08:58 -07:00
fix: Testing a modified drone file.
This commit is contained in:
parent
083bd608ef
commit
e381eae26b
1 changed files with 6 additions and 2 deletions
|
@ -16,14 +16,18 @@ volumes:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Format Code
|
- name: Format Code
|
||||||
image: golang:1.16-alpine3.13
|
# image: golang:1.16-alpine3.13
|
||||||
|
image: golang:1.16.4
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: dockersock
|
# - name: dockersock
|
||||||
# path: /var/run/docker.sock
|
# path: /var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
# - CGO_ENABLED: 0
|
||||||
commands:
|
commands:
|
||||||
|
# - apk add --no-cache zeromq-dev build-base git
|
||||||
- go fmt ./...
|
- go fmt ./...
|
||||||
- go vet ./...
|
- go vet ./...
|
||||||
- curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.18.2
|
# - curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.18.2
|
||||||
- trivy repo ${DRONE_GIT_HTTP_URL}
|
- trivy repo ${DRONE_GIT_HTTP_URL}
|
||||||
|
|
||||||
# - name: Send Status To Datadog
|
# - name: Send Status To Datadog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue