更新 Alasan/location/drone.yaml
This commit is contained in:
parent
8fde4de07f
commit
1ece99ed21
|
@ -4,12 +4,22 @@ name: default
|
|||
clone:
|
||||
display: false
|
||||
steps:
|
||||
- name: loading cache
|
||||
pull: if-not-exists
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /cache
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./nugetpackages
|
||||
- name: git pull
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone -b master http://119.91.37.71:3000/Alasan/location.git
|
||||
- name: wgetDist
|
||||
image: linux
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- echo "start"
|
||||
- wget http://119.91.37.71:90/simp/location/simplocation.zip && unzip simplocation.zip
|
||||
|
@ -28,6 +38,21 @@ steps:
|
|||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- name: rebuild cache
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /cache
|
||||
settings:
|
||||
rebuild: true
|
||||
mount:
|
||||
- ./nugetpackages
|
||||
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /tmp/drone-cache
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
Loading…
Reference in New Issue