Compare commits

...

2 Commits

Author SHA1 Message Date
1d9e4c71d3 Test volume mount
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-10-30 23:30:34 -07:00
23f8755c95 always pull kaniko image
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-29 19:26:39 -07:00

View File

@ -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
@ -18,6 +21,7 @@ steps:
- name: docker - name: docker
image: harbor.ntppool.org/ntppool/drone-kaniko:latest image: harbor.ntppool.org/ntppool/drone-kaniko:latest
pull: always
settings: settings:
repo: drone-builds/drone-test repo: drone-builds/drone-test
registry: harbor.ntppool.org registry: harbor.ntppool.org
@ -28,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