mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-01 03:48:50 +08:00
This commit is contained in:
parent
d69946bf60
commit
2ccd60b65c
18
.drone.yml
18
.drone.yml
@ -6,7 +6,7 @@ name: goenv
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: golang:alpine
|
image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||||
commands:
|
commands:
|
||||||
- chmod +x build.sh
|
- chmod +x build.sh
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
@ -36,24 +36,14 @@ steps:
|
|||||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23b-linux.zip
|
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23b-linux.zip
|
||||||
- unzip -q android-ndk-r23b-linux.zip
|
- unzip -q android-ndk-r23b-linux.zip
|
||||||
- rm -f android-ndk-r23b-linux.zip
|
- rm -f android-ndk-r23b-linux.zip
|
||||||
- name: docker1
|
- name: docker
|
||||||
pull: if-not-exists
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: xiaoqidun/goenv
|
|
||||||
username:
|
|
||||||
from_secret: docker_username1
|
|
||||||
password:
|
|
||||||
from_secret: docker_password1
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
- name: docker2
|
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||||
registry: hkccr.ccs.tencentyun.com
|
registry: hkccr.ccs.tencentyun.com
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username2
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password2
|
from_secret: docker_password
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
|||||||
module github.com/xiaoqidun/goenv
|
module github.com/xiaoqidun/goenv
|
||||||
|
|
||||||
go 1.15
|
go 1.18
|
||||||
|
Loading…
Reference in New Issue
Block a user