2 Star 0 Fork 0

mirrors_rancher/image-build-cilium-image-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.drone.yml 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
Manuel Buil 提交于 2021-05-21 17:27 . Add the next two images
---
kind: pipeline
type: docker
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.15.8b5
commands:
- make DRONE_TAG=${DRONE_TAG} image-build-compilers
- make DRONE_TAG=${DRONE_TAG} image-build-bpftool
- make DRONE_TAG=${DRONE_TAG} image-build-iproute2
- make DRONE_TAG=${DRONE_TAG} image-build-llvm
volumes:
- name: docker
path: /var/run/docker.sock
environment:
DOCKER_BUILDKIT: 1
- name: publish
image: rancher/hardened-build-base:v1.15.8b5
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push-compilers image-manifest-compilers
- make DRONE_TAG=${DRONE_TAG} image-push-bpftool image-manifest-bpftool
- make DRONE_TAG=${DRONE_TAG} image-push-iproute2 image-manifest-iproute2
- make DRONE_TAG=${DRONE_TAG} image-push-llvm image-manifest-llvm
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- tag
- name: scan
image: rancher/hardened-build-base:v1.15.8b5
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan-compilers
- make DRONE_TAG=${DRONE_TAG} image-scan-bpftool
- make DRONE_TAG=${DRONE_TAG} image-scan-iproute2
- make DRONE_TAG=${DRONE_TAG} image-scan-llvm
volumes:
- name: docker
path: /var/run/docker.sock
volumes:
- name: docker
host:
path: /var/run/docker.sock
...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/image-build-cilium-image-tools.git
git@gitee.com:mirrors_rancher/image-build-cilium-image-tools.git
mirrors_rancher
image-build-cilium-image-tools
image-build-cilium-image-tools
main

搜索帮助