2 Star 0 Fork 0

mirrors_rancher/cri-dockerd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.drone.yml 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
Lucas Ramage 提交于 2022-03-31 16:25 . Implement drone-plugin-fossa
---
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/cri-dockerd.git
git@gitee.com:mirrors_rancher/cri-dockerd.git
mirrors_rancher
cri-dockerd
cri-dockerd
master

搜索帮助