25 lines
492 B
YAML
25 lines
492 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: clone
|
||
|
image: ubuntu
|
||
|
script:
|
||
|
- apt update
|
||
|
- apt install -y git
|
||
|
- git clone https://github.com/librespeed/speedtest-go.git .
|
||
|
|
||
|
- name: kaniko
|
||
|
image: banzaicloud/drone-kaniko
|
||
|
settings:
|
||
|
registry: registry.kmlabz.com
|
||
|
repo: stargate-cluster/${DRONE_REPO_NAME}
|
||
|
username:
|
||
|
from_secret: DOCKER_USERNAME
|
||
|
password:
|
||
|
from_secret: DOCKER_PASSWORD
|
||
|
tags:
|
||
|
- latest
|
||
|
- ${DRONE_BUILD_NUMBER}
|