mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-12-22 21:48:15 +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
|
Loading…
x
Reference in New Issue
Block a user