Skip to content

Commit 33536ff

Browse files
committed
Add build pipeline for riscv64
Signed-off-by: Antony Chazapis <[email protected]>
1 parent dde9cde commit 33536ff

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.drone.yml

+44
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,48 @@ volumes:
133133
host:
134134
path: /var/run/docker.sock
135135

136+
---
137+
kind: pipeline
138+
name: risv64
139+
type: docker
140+
141+
platform:
142+
os: linux
143+
arch: amd64
144+
145+
steps:
146+
- name: build
147+
image: rancher/dapper:v0.5.0
148+
commands:
149+
- ARCH=riscv64 dapper ci
150+
volumes:
151+
- name: docker
152+
path: /var/run/docker.sock
153+
154+
- name: docker-publish
155+
image: plugins/docker
156+
settings:
157+
dockerfile: package/Dockerfile
158+
password:
159+
from_secret: docker_password
160+
repo: "rancher/klipper-lb"
161+
tag: "${DRONE_TAG}-riscv64"
162+
username:
163+
from_secret: docker_username
164+
when:
165+
instance:
166+
- drone-publish.k3s.io
167+
ref:
168+
- refs/head/master
169+
- refs/tags/*
170+
event:
171+
- tag
172+
173+
volumes:
174+
- name: docker
175+
host:
176+
path: /var/run/docker.sock
177+
136178
---
137179
kind: pipeline
138180
name: arm
@@ -199,6 +241,7 @@ steps:
199241
- linux/arm64
200242
- linux/arm
201243
- linux/s390x
244+
- linux/riscv64
202245
target: "rancher/klipper-lb:${DRONE_TAG}"
203246
template: "rancher/klipper-lb:${DRONE_TAG}-ARCH"
204247
when:
@@ -215,3 +258,4 @@ depends_on:
215258
- arm64
216259
- arm
217260
- s390x
261+
- riscv64

0 commit comments

Comments
 (0)