1
0
Fork 0

build container image
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Torma Kristóf 2023-05-14 14:43:12 +02:00
commit e53241b17c
1 changed files with 24 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
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}