mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-22 16:16:46 +08:00
This commit is contained in:
parent
2f577fda9e
commit
a1f938c872
21
.drone.yml
21
.drone.yml
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: docker-cn
|
name: default
|
||||||
node:
|
node:
|
||||||
region: cn
|
region: cn
|
||||||
steps:
|
steps:
|
||||||
@ -14,7 +14,7 @@ steps:
|
|||||||
- wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r26-linux.zip
|
- wget -q -T 180 -4 https://dl.google.com/android/repository/android-ndk-r26-linux.zip
|
||||||
- unzip -q android-ndk-r26-linux.zip
|
- unzip -q android-ndk-r26-linux.zip
|
||||||
- rm -f android-ndk-r26-linux.zip
|
- rm -f android-ndk-r26-linux.zip
|
||||||
- name: docker
|
- name: docker-cn
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -25,22 +25,7 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
dockerfile: DockerfileCN
|
dockerfile: DockerfileCN
|
||||||
---
|
- name: docker-hk
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: docker-hk
|
|
||||||
node:
|
|
||||||
region: cn
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
pull: if-not-exists
|
|
||||||
image: debian
|
|
||||||
commands:
|
|
||||||
- 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-r26-linux.zip
|
|
||||||
- unzip -q android-ndk-r26-linux.zip
|
|
||||||
- rm -f android-ndk-r26-linux.zip
|
|
||||||
- name: docker
|
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM golang:1.21.2-bookworm
|
FROM golang:1.21.3-bookworm
|
||||||
|
|
||||||
# 作者信息
|
# 作者信息
|
||||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM golang:1.21.2-bookworm
|
FROM golang:1.21.3-bookworm
|
||||||
|
|
||||||
# 作者信息
|
# 作者信息
|
||||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user