test buildx multiarch support #13
10
.drone.yml
10
.drone.yml
@ -30,7 +30,7 @@ steps:
|
||||
- name: wait-for
|
||||
image: thegeeklab/wait-for
|
||||
commands:
|
||||
- wait-for dind:2375
|
||||
- wait-for dind:2376
|
||||
environment:
|
||||
WAITFOR_TIMEOUT: 60
|
||||
|
||||
@ -43,10 +43,12 @@ steps:
|
||||
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest .
|
||||
environment:
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_HOST: tcp://dind:2375/
|
||||
DOCKER_HOST: tcp://dind:2376/
|
||||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
@ -59,6 +61,8 @@ steps:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: plugins/docker:19
|
||||
@ -191,6 +195,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: a6d185d7e8e26e2f9d3c04d0fdab26a209fa6784ce6f70373936e4ca3b72c2f0
|
||||
hmac: d9fac54830b42defff2474a26cd2f447a11fef84d9fa2626a50fed49c6baf4b8
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user