更新 Alasan/location/drone.yaml
This commit is contained in:
parent
eb5faef00b
commit
9e1e9b2435
|
@ -0,0 +1,28 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
clone:
|
||||||
|
display: false
|
||||||
|
steps:
|
||||||
|
- name: git pull
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone -b http://119.91.37.71:3000/Alasan/location.git
|
||||||
|
- name: publish
|
||||||
|
image: plugins/docker
|
||||||
|
pull: if-not-exists
|
||||||
|
settings:
|
||||||
|
registry: 119.91.37.71:2080
|
||||||
|
repo: 119.91.37.71:2080/alasan/location-master
|
||||||
|
insecure: true
|
||||||
|
use_cache: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
Loading…
Reference in New Issue