代码拉取完成,页面将自动刷新
---
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
...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。