commit e53241b17c97ddcbc1c18ef1fd83b53f1b94dd0a Author: Kristóf Torma Date: Sun May 14 14:43:12 2023 +0200 build container image diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f39e243 --- /dev/null +++ b/.drone.yml @@ -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}