更新 Alasan/location/drone.yaml

This commit is contained in:
Alasan 2024-05-29 17:35:48 +08:00
parent eb5faef00b
commit 9e1e9b2435
1 changed files with 28 additions and 0 deletions

View File

@ -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