Compare commits
1 Commits
master
...
1d9e4c71d3
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d9e4c71d3 |
10
.drone.yml
10
.drone.yml
@@ -4,10 +4,13 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.16.3
|
image: golang:1.17.2
|
||||||
commands:
|
commands:
|
||||||
- go test -v
|
- go test -v
|
||||||
- go build
|
- go build
|
||||||
|
volumes:
|
||||||
|
- name: go-pkg
|
||||||
|
path: /go/pkg
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000
|
cpu: 1000
|
||||||
@@ -29,3 +32,8 @@ steps:
|
|||||||
from_secret: harbor_username
|
from_secret: harbor_username
|
||||||
password:
|
password:
|
||||||
from_secret: harbor_password
|
from_secret: harbor_password
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: shared
|
||||||
|
claim:
|
||||||
|
name: go-pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user