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