mirror of
https://github.com/xiaoqidun/phpcp.git
synced 2024-11-22 08:56:46 +08:00
This commit is contained in:
parent
874ce4233e
commit
38c568e0ed
@ -2,6 +2,9 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
node:
|
||||||
|
region: cn
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
@ -10,7 +13,7 @@ steps:
|
|||||||
- apk add zip
|
- apk add zip
|
||||||
- zip -r fileadmin.zip *
|
- zip -r fileadmin.zip *
|
||||||
- name: upload
|
- name: upload
|
||||||
image: hkccr.ccs.tencentyun.com/xiaoqidun/gocos
|
image: ccr.ccs.tencentyun.com/xiaoqidun/gocos
|
||||||
settings:
|
settings:
|
||||||
secret_id:
|
secret_id:
|
||||||
from_secret: cos_secret_id
|
from_secret: cos_secret_id
|
||||||
@ -19,4 +22,4 @@ steps:
|
|||||||
bucket_url:
|
bucket_url:
|
||||||
from_secret: cos_bucket_url
|
from_secret: cos_bucket_url
|
||||||
source: fileadmin.zip
|
source: fileadmin.zip
|
||||||
target: product
|
target: product
|
Loading…
x
Reference in New Issue
Block a user