test buildx multiarch support #13

Merged
xoxys merged 10 commits from buildx into main 2021-01-09 23:47:29 +00:00
Showing only changes of commit e6ff987ea3 - Show all commits

View File

@ -28,17 +28,15 @@ platform:
steps:
- name: dryrun
image: plugins/docker:19
settings:
dockerfile: Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
image: jdrouet/docker-with-buildx:stable
commands:
- docker buildx ls
- docker buildx create --use
- docker buildx ls
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest .
environment:
DOCKER_BUILDKIT: 1
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://dind:2375/
when:
ref:
- refs/pull/**
@ -106,6 +104,10 @@ steps:
- publish-dockerhub
- publish-quay
services:
- name: dind
image: docker:dind
trigger:
ref:
- refs/heads/main
@ -181,6 +183,6 @@ depends_on:
---
kind: signature
hmac: 14eb650adf452610ccb668009fadc51bbd44f9cede6a037ae2c4430c72458b5e
hmac: dddb86bc5f442e55752da00c78dd314ac7311513aa299caff92af7735730f4df
...