Compare commits
2 Commits
c24b9e4cdc
...
1d9e4c71d3
Author | SHA1 | Date | |
---|---|---|---|
1d9e4c71d3 | |||
23f8755c95 |
11
.drone.yml
11
.drone.yml
@ -4,10 +4,13 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang:1.16.3
|
||||
image: golang:1.17.2
|
||||
commands:
|
||||
- go test -v
|
||||
- go build
|
||||
volumes:
|
||||
- name: go-pkg
|
||||
path: /go/pkg
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000
|
||||
@ -18,6 +21,7 @@ steps:
|
||||
|
||||
- name: docker
|
||||
image: harbor.ntppool.org/ntppool/drone-kaniko:latest
|
||||
pull: always
|
||||
settings:
|
||||
repo: drone-builds/drone-test
|
||||
registry: harbor.ntppool.org
|
||||
@ -28,3 +32,8 @@ steps:
|
||||
from_secret: harbor_username
|
||||
password:
|
||||
from_secret: harbor_password
|
||||
|
||||
volumes:
|
||||
- name: shared
|
||||
claim:
|
||||
name: go-pkg
|
||||
|
Loading…
x
Reference in New Issue
Block a user