mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-14 20:45:18 +08:00
35 lines
961 B
YAML
35 lines
961 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
pull: if-not-exists
|
|
image: alpine
|
|
commands:
|
|
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
|
|
- unzip -q android-ndk-r25c-linux.zip
|
|
- rm -f android-ndk-r25c-linux.zip
|
|
- name: docker-cn
|
|
pull: if-not-exists
|
|
image: plugins/docker
|
|
settings:
|
|
repo: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
|
registry: ccr.ccs.tencentyun.com
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: DockerfileCN
|
|
- name: docker-hk
|
|
pull: if-not-exists
|
|
image: plugins/docker
|
|
settings:
|
|
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
|
registry: hkccr.ccs.tencentyun.com
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: DockerfileHK |