From 342ac0f32d7b33ddec4d1d4ad522e6949ac794b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 13 Dec 2023 17:16:40 +0100 Subject: [PATCH] add drone config --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..13ed0fd --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: clone_github + image: alpine/git + pull: always + commands: + - git clone https://github.com/kelaresg/go-skype-bridge.git + +- name: patch_dockerfile + image: ubuntu + pull: always + commands: + - sed -i 's/\:3\.14//g' /drone/src/go-skype-bridge/Dockerfile + - sed -i 's/3\.14//g' /drone/src/go-skype-bridge/Dockerfile + +- name: kaniko + image: plugins/kaniko + settings: + registry: registry.kmlabz.com + repo: registry.kmlabz.com/stargate-cluster/${DRONE_REPO_NAME} + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + context: /drone/src/go-skype-bridge + dockerfile: /drone/src/go-skype-bridge/Dockerfile + tags: + - latest + - ${DRONE_BUILD_NUMBER}