multiarch-pipeline-test/.drone.yml
Ian Fijolek e27af3b995
All checks were successful
continuous-integration/drone/push Build is passing
Drone updates
2020-02-12 18:52:44 -08:00

60 lines
1.3 KiB
YAML

---
kind: pipeline
name: docker builds
trigger:
event:
- push
- tag
ref:
- refs/heads/master
- refs/tags/v*
steps:
- name: build amd64
image: plugins/docker
settings:
repo: iamthefij/multiarch-pipeline-test
auto_tag: true
auto_tag_suffix: drone-amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: build arm32v7
image: plugins/docker
settings:
repo: iamthefij/multiarch-pipeline-test
auto_tag: true
auto_tag_suffix: drone-arm
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- ARCH=arm
- REPO=arm32v7
- name: build-arm64
image: plugins/docker
settings:
repo: iamthefij/multiarch-pipeline-test
auto_tag: true
auto_tag_suffix: drone-arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- ARCH=aarch64
- REPO=arm64v8
- name: publish manifest
image: plugins/manifest
settings:
spec: drone-manifest.tmpl
auto_tag: true
ignore_missing: true
username:
from_secret: docker_username
password:
from_secret: docker_password