2020-09-16 13:39:46 +08:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2020-09-16 14:00:50 +08:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: if-not-exists
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- apk add zip
|
2020-09-16 14:03:27 +08:00
|
|
|
- zip -r fileadmin.zip *
|
2020-09-16 14:00:50 +08:00
|
|
|
- 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
|
2020-09-16 14:03:27 +08:00
|
|
|
source: fileadmin.zip
|
2020-09-16 14:00:50 +08:00
|
|
|
target: product
|
|
|
|
path_style: true
|
|
|
|
endpoint: https://minio.aite.xyz
|