drone-test/.drone.yml
Ask Bjørn Hansen ffcf6f372d
Some checks reported errors
continuous-integration/drone/push Build was killed
registry is a separate setting, not part of the repo
2020-05-24 23:25:12 -07:00

31 lines
538 B
YAML

kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang
commands:
- go test -v
- go build
resources:
limits:
cpu: 1
memory: 100MiB
requests:
cpu: 1
memory: 50MiB
- name: docker
#image: plugins/docker
image: banzaicloud/drone-kaniko
settings:
repo: drone-test/drone-test
registry: harbor.ntppool.org
tags: latest,${DRONE_COMMIT_SHA}
#auto_tag: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password