代码拉取完成,页面将自动刷新
同步操作将从 NATS/kine 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
---
kind: pipeline
type: docker
name: amd64
platform:
os: linux
arch: amd64
steps:
- name: build
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
ARCH: "${DRONE_STAGE_ARCH}"
volumes:
- name: docker
path: /var/run/docker.sock
- name: test
image: rancher/dapper:v0.5.0
commands:
- dapper -f Dockerfile.test.dapper
environment:
ARCH: "${DRONE_STAGE_ARCH}"
volumes:
- name: docker
path: /var/run/docker.sock
when:
instance:
- drone-pr.k3s.io
- name: github_binary_release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-amd64.txt
checksum_flatten: true
files:
- dist/artifacts/*
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
- name: docker-publish
image: plugins/docker:20.13
settings:
build_args_from_env:
- ARCH
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: rancher/kine
tag: "${DRONE_TAG}-${DRONE_STAGE_ARCH}"
dockerfile: package/Dockerfile
environment:
ARCH: "${DRONE_STAGE_ARCH}"
DOCKER_BUILDKIT: "1"
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: arm64
platform:
os: linux
arch: arm64
steps:
- name: build
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
ARCH: "${DRONE_STAGE_ARCH}"
volumes:
- name: docker
path: /var/run/docker.sock
- name: github_binary_release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm64.txt
checksum_flatten: true
files:
- dist/artifacts/*
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
- name: docker-publish
image: plugins/docker:20.13
settings:
build_args_from_env:
- ARCH
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: rancher/kine
tag: "${DRONE_TAG}-${DRONE_STAGE_ARCH}"
dockerfile: package/Dockerfile
environment:
ARCH: "${DRONE_STAGE_ARCH}"
DOCKER_BUILDKIT: "1"
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: arm
platform:
os: linux
arch: arm
steps:
- name: build
image: rancher/dapper:v0.5.0
commands:
- dapper ci
environment:
ARCH: "${DRONE_STAGE_ARCH}"
volumes:
- name: docker
path: /var/run/docker.sock
- name: github_binary_release
image: plugins/github-release:linux-arm
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-arm.txt
checksum_flatten: true
files:
- dist/artifacts/*
prerelease: true
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
- name: docker-publish
image: plugins/docker:linux-arm
settings:
build_args_from_env:
- ARCH
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: rancher/kine
tag: "${DRONE_TAG}-${DRONE_STAGE_ARCH}"
dockerfile: package/Dockerfile
environment:
ARCH: "${DRONE_STAGE_ARCH}"
# Don't enable buildkit on arm, it will barf on the platform variant mismatch
#DOCKER_BUILDKIT: "1"
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: manifest
platform:
os: linux
arch: amd64
steps:
- name: manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
platforms:
- linux/amd64
- linux/arm64
- linux/arm
target: "rancher/kine:${DRONE_TAG}"
template: "rancher/kine:${DRONE_TAG}-ARCH"
when:
event:
- tag
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
depends_on:
- amd64
- arm64
- arm
...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。