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