Ask Bjørn Hansen
a4cb903627
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
555 B
YAML
31 lines
555 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-6
|
|
settings:
|
|
repo: drone-builds/drone-test
|
|
registry: harbor.ntppool.org
|
|
auto_tag: true
|
|
tags: SHA7,${DRONE_SOURCE_BRANCH}
|
|
cache: true
|
|
username:
|
|
from_secret: harbor_username
|
|
password:
|
|
from_secret: harbor_password
|