chore: try using buildx for multiarch.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Harton 2023-07-19 17:41:57 +12:00
parent 887117b45c
commit aa56f5aed5
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -1,14 +1,11 @@
kind: pipeline
type: docker
name: amd64
platform:
os: linux
arch: amd64
name: default
steps:
- name: build amd64
image: plugins/docker
- name: build
image: thegeeklab/drone-docker-buildx:23
privileged: true
settings:
username: james
password:
@ -16,24 +13,9 @@ steps:
registry: code.harton.nz
repo: code.harton.nz/james/asdf_container
cache_from: code.harton.nz/james/asdf_container:latest
tags:
- latest
platforms:
- linux/arm64
- linux/amd64
---
kind: pipeline
type: docker
name: arm64
platform:
os: linux
arch: arm64
steps:
- name: build amd64
image: plugins/docker
settings:
username: james
password:
from_secret: REGISTRY_TOKEN
registry: code.harton.nz
repo: code.harton.nz/james/asdf_container
cache_from: code.harton.nz/james/asdf_container:latest