代码拉取完成,页面将自动刷新
---
kind: pipeline
name: default-linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: prepare-binaries-pr
image: golang:1.16.4
commands:
- apt-get -y update && apt-get -y install make curl tar
- make -C packaging/static static-linux cross-arm
environment:
VERSION: "${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}"
when:
event:
- push
- pull_request
- name: prepare-binaries-tag
image: golang:1.16.4
commands:
- apt-get -y update && apt-get -y install make curl tar
- make -C packaging/static static-linux cross-arm
environment:
VERSION: "${DRONE_TAG}"
when:
event:
- tag
- name: github_binary_prerelease
pull: default
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
files:
- "packaging/static/build/linux/cri-dockerd-${DRONE_TAG}-linux-amd64.tgz"
- "packaging/static/build/arm/cri-dockerd-${DRONE_TAG}-linux-arm64.tgz"
prerelease: true
when:
event:
- tag
ref:
include:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
- name: github_binary_release
pull: default
image: plugins/github-release
settings:
checksum:
- sha256
files:
- "packaging/static/build/linux/cri-dockerd-${DRONE_TAG}-linux-amd64.tgz"
- "packaging/static/build/arm/cri-dockerd-${DRONE_TAG}-linux-arm64.tgz"
api_key:
from_secret: github_token
when:
event:
- tag
ref:
exclude:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
---
kind: pipeline
name: fossa
steps:
- name: fossa
image: rancher/drone-fossa:latest
settings:
api_key:
from_secret: FOSSA_API_KEY
when:
instance:
- drone-publish.rancher.io
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。