2022-01-07 17:31:44 +08:00
|
|
|
kind: pipeline
|
|
|
|
name: build arm64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
include:
|
|
|
|
- custom
|
|
|
|
|
2022-06-09 19:42:38 +08:00
|
|
|
node:
|
|
|
|
city: sydney
|
|
|
|
|
2022-01-07 17:31:44 +08:00
|
|
|
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
|
2022-09-07 14:53:10 +08:00
|
|
|
DOCKER_USERNAME:
|
|
|
|
from_secret: docker_username
|
|
|
|
DOCKER_PASSWORD:
|
|
|
|
from_secret: docker_password
|
2022-01-07 17:31:44 +08:00
|
|
|
BUILD_VERSION:
|
|
|
|
from_secret: build_version
|
2022-06-09 21:28:49 +08:00
|
|
|
GOPROXY:
|
|
|
|
from_secret: go_proxy
|
2022-01-07 17:31:44 +08:00
|
|
|
GOOS: linux
|
|
|
|
GOARCH: arm64
|
|
|
|
commands:
|
2023-01-31 19:12:15 +08:00
|
|
|
- sleep 20 # give docker enough time to start
|
2022-10-11 11:00:46 +08:00
|
|
|
- VERSION=$BUILD_VERSION BUILD_GOARCH=arm64 BUILD_BASE_IMAGE_VERSION=3.16 ./release.sh all push
|
2022-01-07 17:31:44 +08:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
include:
|
|
|
|
- custom
|
|
|
|
services:
|
|
|
|
- name: docker
|
|
|
|
image: docker:dind
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
2022-06-09 19:42:38 +08:00
|
|
|
temp: {}
|