test buildx multiarch support
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Robert Kaussow 2021-01-09 23:35:00 +01:00
parent ec6b8c1fdf
commit e6ff987ea3
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 13 additions and 11 deletions

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
...