mirror of
https://github.com/xiaoqidun/goenv.git
synced 2025-04-11 14:27:25 +08:00
feat(容器命令): 添加goenv可执行程序,执行命令直接进入容器环境
This commit is contained in:
35
.drone.yml
35
.drone.yml
@ -1,6 +1,39 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: goenv
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
pull: if-not-exists
|
||||
image: ghcr.io/xiaoqidun/build
|
||||
commands:
|
||||
- build -f build.sh -i goenv.go -o release/goenv
|
||||
- name: build
|
||||
pull: if-not-exists
|
||||
image: xiaoqidun/goenv
|
||||
commands:
|
||||
- ./build.sh
|
||||
- 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: release/*
|
||||
strip_prefix: release/
|
||||
target: product/goenv
|
||||
path_style: true
|
||||
endpoint: https://minio.aite.xyz
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: docker
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
Reference in New Issue
Block a user