2019-03-09 01:12:03 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: amd64
|
|
|
|
|
|
|
|
steps:
|
2019-03-10 22:12:08 +00:00
|
|
|
- name: qemu
|
|
|
|
image: plugins/download
|
|
|
|
source: https://github.com/multiarch/qemu-user-static/releases/download/v2.9.1-1/x86_64_qemu-x86_64-static.tar.gz
|
|
|
|
|
|
|
|
- name: prep
|
|
|
|
image: busybox
|
|
|
|
commands:
|
|
|
|
- tar -xvf x86_64_qemu-x86_64-static.tar.gz
|
|
|
|
- rm x86_64_qemu-x86_64-static.tar.gz
|
|
|
|
|
2019-03-09 01:12:03 +00:00
|
|
|
- name: build
|
2019-03-10 21:38:11 +00:00
|
|
|
image: plugins/docker
|
2019-03-10 21:28:47 +00:00
|
|
|
settings:
|
|
|
|
repo: iamthefij/multiarch-pipeline-test
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
2019-03-10 21:30:16 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-03-09 01:12:03 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2019-03-10 21:38:11 +00:00
|
|
|
image: plugins/docker
|
2019-03-10 21:28:47 +00:00
|
|
|
settings:
|
|
|
|
repo: iamthefij/multiarch-pipeline-test
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm32v6
|
2019-03-10 21:30:16 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-03-10 21:28:47 +00:00
|
|
|
build_args:
|
|
|
|
- ARCH=arm
|
|
|
|
- REPO=arm32v6
|