diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c02f051 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,15 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: docker + pull: if-not-exists + image: plugins/docker + settings: + repo: xiaoqidun/goenv + username: + from_secret: docker_username + password: + from_secret: docker_password + dockerfile: Dockerfile \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..63cd902 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +# 基础镜像 +FROM golang:buster + +# 作者信息 +LABEL MAINTAINER="xiaoqidun@gmail.com" + +# 安装工具 +RUN apt-get update \ + && apt-get install -y \ + unzip