Skip to content

Commit 9a6c7e2

Browse files
authored
Merge pull request #40 from ivan-claire/s390x
Add s390x Support
2 parents 309b02b + f622d10 commit 9a6c7e2

1 file changed

Lines changed: 55 additions & 1 deletion

File tree

.drone.yml

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,57 @@ volumes:
129129
- name: docker
130130
host:
131131
path: /var/run/docker.sock
132+
---
133+
kind: pipeline
134+
name: s390x
135+
type: docker
136+
137+
platform:
138+
os: linux
139+
arch: amd64
140+
141+
node:
142+
arch: s390x
143+
144+
steps:
145+
- name: build
146+
image: rancher/dapper:v0.5.8
147+
failure: ignore
148+
commands:
149+
- dapper ci
150+
volumes:
151+
- name: docker
152+
path: /var/run/docker.sock
153+
154+
- name: docker-publish
155+
image: rancher/drone-images:docker-s390x
156+
failure: ignore
157+
volumes:
158+
- name: docker
159+
path: /var/run/docker.sock
160+
settings:
161+
dockerfile: package/Dockerfile
162+
password:
163+
from_secret: docker_password
164+
repo: "rancher/klipper-helm"
165+
tag: "${DRONE_TAG}-s390x"
166+
username:
167+
from_secret: docker_username
168+
build_args:
169+
- ARCH=s390x
170+
when:
171+
instance:
172+
- drone-publish.k3s.io
173+
ref:
174+
- refs/head/master
175+
- refs/tags/*
176+
event:
177+
- tag
132178

179+
volumes:
180+
- name: docker
181+
host:
182+
path: /var/run/docker.sock
133183
---
134184
kind: pipeline
135185
name: manifest
@@ -150,8 +200,10 @@ steps:
150200
- linux/amd64
151201
- linux/arm64
152202
- linux/arm
203+
- linux/s390x
153204
target: "rancher/klipper-helm:${DRONE_TAG}"
154205
template: "rancher/klipper-helm:${DRONE_TAG}-ARCH"
206+
ignore_missing: true
155207
when:
156208
instance:
157209
- drone-publish.k3s.io
@@ -165,5 +217,7 @@ depends_on:
165217
- amd64
166218
- arm64
167219
- arm
220+
- s390x
221+
222+
...
168223

169-
...

0 commit comments

Comments
 (0)