mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-11-22 00:46:46 +08:00
chore(自动打包): 自动打包
This commit is contained in:
parent
8bbd924e89
commit
240e6c2862
24
.drone.yml
24
.drone.yml
@ -1,3 +1,25 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add zip
|
||||
- zip -r phpcp.zip *
|
||||
- name: upload
|
||||
pull: if-not-exists
|
||||
image: plugins/s3
|
||||
settings:
|
||||
bucket:
|
||||
from_secret: minio_bucket
|
||||
access_key:
|
||||
from_secret: minio_access_key
|
||||
secret_key:
|
||||
from_secret: minio_secret_key
|
||||
source: phpcp.zip
|
||||
target: product
|
||||
path_style: true
|
||||
endpoint: https://minio.aite.xyz
|
Loading…
x
Reference in New Issue
Block a user