drone-test/.drone.yml
Ask Bjørn Hansen 6f0d80576a
All checks were successful
continuous-integration/drone/push Build is passing
Use golang 1.14.3 instead of latest
2020-05-25 00:01:05 -07:00

31 lines
553 B
YAML

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