feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xiaoqidun 2023-10-15 23:23:33 +08:00
parent 2f577fda9e
commit a1f938c872
3 changed files with 6 additions and 21 deletions

View File

@ -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:
@ -50,4 +35,4 @@ steps:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
dockerfile: DockerfileHK dockerfile: DockerfileHK

View File

@ -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"

View File

@ -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"