drone-test/.drone.yml
Ask Bjørn Hansen 68f41fb16e
All checks were successful
continuous-integration/drone/push Build is passing
push test
2020-05-25 03:20:52 -07:00

32 lines
597 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: askbjoernhansen/drone-kaniko:0.22-1
#image: banzaicloud/drone-kaniko
settings:
repo: drone-builds/drone-test
registry: harbor.ntppool.org
auto_tag: true
tags: latest,${DRONE_SOURCE_BRANCH},SHA7
cache: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password