manifest for multi-arch support
This commit is contained in:
20
.drone.yml
20
.drone.yml
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user