manifest for multi-arch support

This commit is contained in:
Brad Rydzewski
2019-10-26 11:11:43 -07:00
parent b28a23ff3b
commit db0046c0e7
2 changed files with 67 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
kind: pipeline
name: default
type: docker
name: linux
platform:
os: linux
@@ -66,7 +67,7 @@ steps:
settings:
repo: drone/drone-runner-docker
auto_tag: true
auto_tag_suffix: linux-arm
auto_tag_suffix: linux-arm64
dockerfile: docker/Dockerfile.linux.arm64
username:
from_secret: docker_username
@@ -77,6 +78,21 @@ steps:
- refs/heads/master
- refs/tags/*
- name: manifest
image: plugins/manifest
settings:
spec: docker/manifest.tmpl
auto_tag: true
ignore_missing: true
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/tags/*
volumes:
- name: go
temp: {}