Skip to content

Commit

Permalink
Add build pipeline for riscv64
Browse files Browse the repository at this point in the history
Signed-off-by: Antony Chazapis <[email protected]>
  • Loading branch information
chazapis committed Jul 19, 2023
1 parent dde9cde commit 33536ff
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,48 @@ volumes:
host:
path: /var/run/docker.sock

---
kind: pipeline
name: risv64
type: docker

platform:
os: linux
arch: amd64

steps:
- name: build
image: rancher/dapper:v0.5.0
commands:
- ARCH=riscv64 dapper ci
volumes:
- name: docker
path: /var/run/docker.sock

- name: docker-publish
image: plugins/docker
settings:
dockerfile: package/Dockerfile
password:
from_secret: docker_password
repo: "rancher/klipper-lb"
tag: "${DRONE_TAG}-riscv64"
username:
from_secret: docker_username
when:
instance:
- drone-publish.k3s.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag

volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
name: arm
Expand Down Expand Up @@ -199,6 +241,7 @@ steps:
- linux/arm64
- linux/arm
- linux/s390x
- linux/riscv64
target: "rancher/klipper-lb:${DRONE_TAG}"
template: "rancher/klipper-lb:${DRONE_TAG}-ARCH"
when:
Expand All @@ -215,3 +258,4 @@ depends_on:
- arm64
- arm
- s390x
- riscv64

0 comments on commit 33536ff

Please sign in to comment.