goenv/.drone.yml

37 lines
1.0 KiB
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: default
node:
2023-07-12 10:12:38 +08:00
region: hk
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/*
- 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
- name: docker-cn
pull: if-not-exists
image: plugins/docker
settings:
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
dockerfile: DockerfileCN
- name: docker-hk
2023-01-10 01:04:23 +08:00
pull: if-not-exists
image: plugins/docker
settings:
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
registry: hkccr.ccs.tencentyun.com
username:
2022-02-23 11:06:11 +08:00
from_secret: docker_username
password:
2022-02-23 11:06:11 +08:00
from_secret: docker_password
2023-07-06 21:25:58 +08:00
dockerfile: DockerfileHK