From 49a7e6180b4e5461e052e01438e45a396190c0f5 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 23 Feb 2023 21:27:16 +0100 Subject: [PATCH] Call make in official workdir --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 822b503..96cc8a8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,12 +16,15 @@ steps: pull: always commands: - | - ls / -lash + jq '.password="'"$VSPHERE_PASSWORD"'"' vsphere.json > /tmp/vsphere.json && \ + mv /tmp/vsphere.json vsphere.json - | - make build-node-ova-vsphere-ubuntu-2204 + make -C /home/imagebuilder build-node-ova-vsphere-ubuntu-2204 environment: VSPHERE_PASSWORD: from_secret: vsphere_password + PACKER_VAR_FILES: + /drone/src/vsphere.json volumes: - name: output path: /output