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

This commit is contained in:
xiaoqidun 2022-02-23 11:06:11 +08:00
parent d69946bf60
commit 2ccd60b65c
2 changed files with 5 additions and 15 deletions

@ -6,7 +6,7 @@ name: goenv
steps: steps:
- name: build - name: build
pull: if-not-exists pull: if-not-exists
image: golang:alpine image: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
commands: commands:
- chmod +x build.sh - chmod +x build.sh
- ./build.sh - ./build.sh
@ -36,24 +36,14 @@ steps:
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23b-linux.zip - wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r23b-linux.zip
- unzip -q android-ndk-r23b-linux.zip - unzip -q android-ndk-r23b-linux.zip
- rm -f android-ndk-r23b-linux.zip - rm -f android-ndk-r23b-linux.zip
- name: docker1 - name: docker
pull: if-not-exists
image: plugins/docker
settings:
repo: xiaoqidun/goenv
username:
from_secret: docker_username1
password:
from_secret: docker_password1
dockerfile: Dockerfile
- name: docker2
pull: if-not-exists pull: if-not-exists
image: plugins/docker image: plugins/docker
settings: settings:
repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv repo: hkccr.ccs.tencentyun.com/xiaoqidun/goenv
registry: hkccr.ccs.tencentyun.com registry: hkccr.ccs.tencentyun.com
username: username:
from_secret: docker_username2 from_secret: docker_username
password: password:
from_secret: docker_password2 from_secret: docker_password
dockerfile: Dockerfile dockerfile: Dockerfile

2
go.mod

@ -1,3 +1,3 @@
module github.com/xiaoqidun/goenv module github.com/xiaoqidun/goenv
go 1.15 go 1.18