2020-09-24 01:11:18 +08:00
|
|
|
---
|
2020-09-22 15:38:27 +08:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-07-06 21:05:25 +08:00
|
|
|
name: default
|
2023-07-07 02:18:17 +08:00
|
|
|
node:
|
2023-07-12 10:12:38 +08:00
|
|
|
region: hk
|
2020-09-22 15:38:27 +08:00
|
|
|
steps:
|
2020-09-22 15:55:02 +08:00
|
|
|
- name: build
|
|
|
|
pull: if-not-exists
|
2023-07-12 10:26:27 +08:00
|
|
|
image: debian
|
2020-09-22 15:55:02 +08:00
|
|
|
commands:
|
2023-07-12 10:37:36 +08:00
|
|
|
- apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/*
|
2023-07-12 10:33:19 +08:00
|
|
|
- wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
|
2023-02-14 23:19:42 +08:00
|
|
|
- unzip -q android-ndk-r25c-linux.zip
|
|
|
|
- rm -f android-ndk-r25c-linux.zip
|
2023-07-06 21:22:13 +08:00
|
|
|
- name: docker-cn
|
2021-09-08 11:26:36 +08:00
|
|
|
pull: if-not-exists
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-07-06 21:22:13 +08:00
|
|
|
repo: ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
|
|
|
registry: ccr.ccs.tencentyun.com
|
2023-01-10 01:04:23 +08:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2023-07-06 21:22:13 +08:00
|
|
|
dockerfile: DockerfileCN
|
|
|
|
- name: docker-hk
|
2023-01-10 01:04:23 +08:00
|
|
|
pull: if-not-exists
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-07-06 21:22:13 +08:00
|
|
|
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
|
|
|
registry: hkccr.ccs.tencentyun.com
|
2021-09-08 11:26:36 +08:00
|
|
|
username:
|
2022-02-23 11:06:11 +08:00
|
|
|
from_secret: docker_username
|
2021-09-08 11:26:36 +08:00
|
|
|
password:
|
2022-02-23 11:06:11 +08:00
|
|
|
from_secret: docker_password
|
2023-07-06 21:25:58 +08:00
|
|
|
dockerfile: DockerfileHK
|