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

26 lines
566 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 ${DRONE_WORKSPACE}/speedtest-go
- 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_WORKSPACE}/speedtest-go
tags:
- latest
- ${DRONE_BUILD_NUMBER}