File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,26 @@ steps:
2323 when :
2424 branch : master
2525
26+ - name : dockerhub
27+ image : ayravat/rust:1.53.0-docker
28+ volumes :
29+ - name : ssh
30+ path : /root/.ssh
31+ - name : target
32+ path : /tmp/cargo-target
33+ - name : cache
34+ path : /tmp/cargo
35+ - name : docker
36+ path : /root/.docker
37+ - name : dockersock
38+ path : /var/run/docker.sock
39+ commands :
40+ - export CARGO_HOME=/tmp/cargo
41+ - export CARGO_TARGET_DIR=/tmp/cargo-target
42+ - sh deploy/deploy.sh dockerhub
43+ when :
44+ branch : master
45+
2646volumes :
2747 - name : ssh
2848 host :
@@ -33,4 +53,10 @@ volumes:
3353 - name : cache
3454 host :
3555 path : /var/drone/cache/cargo
56+ - name : dockersock
57+ host :
58+ path : /var/run/docker.sock
59+ - name : docker
60+ host :
61+ path : /root/.docker
3662...
You can’t perform that action at this time.
0 commit comments