From 8eac695c9f7684bac6b019abf6707bacd8b456cd Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Sat, 9 Sep 2023 17:25:11 +0200 Subject: [PATCH] Drone: clone to different location --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index 34f726e..0e03a81 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,11 +2,20 @@ name: test kind: pipeline type: docker +clone: + disable: true + platform: os: linux arch: amd64 steps: +- name: clone + image: registry.access.redhat.com/ubi9/python-311:1-12 + commands: + - mkdir ~/docs && cd ~/docs + - git clone $DRONE_REPO_LINK . + - git checkout $DRONE_COMMIT - name: build image: registry.access.redhat.com/ubi9/nodejs-18-minimal:1-67 commands: