diff --git a/.Jenkinsfile b/.Jenkinsfile index 0b3ae83..ac541e5 100644 --- a/.Jenkinsfile +++ b/.Jenkinsfile @@ -5,7 +5,7 @@ pipeline { agent { docker { image 'evolix/gbp:bullseye' - args '-u root --privileged -v /tmp:/tmp' + args '-u root --privileged -v ~/bkctld:/root/bkctld' } } when { @@ -30,7 +30,7 @@ pipeline { script { sh 'echo Dummy line to remove once something actually happens.' /* No crendentials yet - sh 'rsync -avP /tmp/bkctld/ droneci@pub.evolix.net:/home/droneci/bkctld/' + sh 'rsync -avP ~/bkctld/ droneci@pub.evolix.net:/home/droneci/bkctld/' */ } } diff --git a/.drone.yml b/.drone.yml index cd183e5..d5bc1bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,8 +16,8 @@ steps: - git clean --force - gbp buildpackage -us -uc volumes: - - name: tmp - path: /tmp + - name: bkctld + path: ~/bkctld when: branch: - debian @@ -31,16 +31,16 @@ steps: key: from_secret: drone_private_key target: /home/droneci/bkctld/ - source: /tmp/bkctld/ + source: ~/bkctld/ delete: true volumes: - - name: tmp - path: /tmp + - name: bkctld + path: ~/bkctld when: branch: - debian volumes: -- name: tmp +- name: bkctld host: - path: /tmp + path: ~/bkctld