multiarch-pipeline-test/.drone.yml

60 lines
1.3 KiB
YAML
Raw Permalink Normal View History

---
kind: pipeline
2020-02-13 02:52:44 +00:00
name: docker builds
trigger:
event:
- push
- tag
ref:
- refs/heads/master
- refs/tags/v*
steps:
2020-02-13 02:52:44 +00:00
- name: build amd64
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
2020-02-13 02:52:44 +00:00
auto_tag_suffix: drone-amd64
2019-03-10 21:30:16 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2020-02-13 02:52:44 +00:00
- name: build arm32v7
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
2020-02-13 02:52:44 +00:00
auto_tag_suffix: drone-arm
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
2020-02-13 02:52:44 +00:00
- REPO=arm32v7
- name: build-arm64
image: plugins/docker
settings:
repo: iamthefij/multiarch-pipeline-test
auto_tag: true
2020-02-13 02:52:44 +00:00
auto_tag_suffix: drone-arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
2019-06-05 00:45:55 +00:00
- ARCH=aarch64
- REPO=arm64v8
2019-03-10 22:35:08 +00:00
- name: publish manifest
image: plugins/manifest
settings:
2020-02-13 02:52:44 +00:00
spec: drone-manifest.tmpl
2019-03-10 22:35:08 +00:00
auto_tag: true
ignore_missing: true
username:
from_secret: docker_username
password:
from_secret: docker_password