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 647a2aa commit ae68d66
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,50 @@ volumes:
path: /var/run/docker.sock
---
kind: pipeline
name: riscv64
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-helm"
tag: "${DRONE_TAG}-riscv64"
username:
from_secret: docker_username
build_args:
- ARCH=riscv64
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: manifest

platform:
Expand All @@ -200,6 +244,7 @@ steps:
- linux/arm64
- linux/arm
- linux/s390x
- linux/riscv64
target: "rancher/klipper-helm:${DRONE_TAG}"
template: "rancher/klipper-helm:${DRONE_TAG}-ARCH"
when:
Expand All @@ -216,6 +261,7 @@ depends_on:
- arm64
- arm
- s390x
- riscv64

...

0 comments on commit ae68d66

Please sign in to comment.