1
0
Fork 0
speedtest-go-docker/.drone.yml

28 lines
547 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: clone_github
image: ubuntu
commands:
- apt update
- apt install -y git
- git clone https://github.com/librespeed/speedtest-go.git
- pwd
- ls .
- name: kaniko
image: plugins/kaniko
settings:
registry: registry.kmlabz.com
repo: stargate-cluster/${DRONE_REPO_NAME}
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
context: /drone/src/speedtest-go
tags:
- latest
- ${DRONE_BUILD_NUMBER}