加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.drone.yml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
张启航 提交于 2023-01-31 19:12 . ci: sleep 20s wait docker start (#1534)
kind: pipeline
name: build arm64
platform:
os: linux
arch: arm64
trigger:
event:
include:
- custom
node:
city: sydney
steps:
- name: build rainbond
image: rainbond/docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
environment:
DOMESTIC_BASE_NAME:
from_secret: domestic_base_name
DOMESTIC_DOCKER_USERNAME:
from_secret: domestic_docker_username
DOMESTIC_DOCKER_PASSWORD:
from_secret: domestic_docker_password
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: docker_password
BUILD_VERSION:
from_secret: build_version
GOPROXY:
from_secret: go_proxy
GOOS: linux
GOARCH: arm64
commands:
- sleep 20 # give docker enough time to start
- VERSION=$BUILD_VERSION BUILD_GOARCH=arm64 BUILD_BASE_IMAGE_VERSION=3.16 ./release.sh all push
when:
event:
include:
- custom
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化