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

25 lines
501 B
YAML
Raw Normal View History

2023-05-14 14:43:12 +02:00
kind: pipeline
type: docker
name: default
steps:
2023-05-14 14:44:06 +02:00
- name: clone_github
2023-05-14 14:43:12 +02:00
image: ubuntu
2023-05-14 14:45:26 +02:00
commands:
2023-05-14 14:43:12 +02:00
- 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}