aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAria Taylor <ari@aricodes.net>2021-09-13 02:44:55 +0000
committerAria Taylor <ari@aricodes.net>2021-09-13 02:52:32 +0000
commit6427234ea7078b4449e71db17a49d4d2650306b2 (patch)
treecd9f278c1f4f3ad0cc04411df7bd4c2bd6d3c4c1
parentnote mooomooos work (diff)
downloaddocker-bitlbee-libpurple-6427234ea7078b4449e71db17a49d4d2650306b2.tar.gz
docker-bitlbee-libpurple-6427234ea7078b4449e71db17a49d4d2650306b2.zip
Build for multiple platforms
-rw-r--r--.drone.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 52f5e8d..3155973 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -20,9 +20,10 @@ steps:
DOCKER_HOST: tcp://docker:2375
commands:
- sleep 5
- - docker buildx create --use --name docker --node docker --platform linux/amd64 --driver docker-container $DOCKER_HOST
+ - docker run -it --rm --privileged tonistiigi/binfmt --install all
+ - docker buildx create --use --name docker --node docker --platform linux/amd64,linux/arm64,linux/armhf --driver docker-container $DOCKER_HOST
- echo $PASSWORD | docker login --username $USER --password-stdin
- - docker buildx build --load --cache-from ezkrg/cache:bitlbee-libpurple --cache-to ezkrg/cache:bitlbee-libpurple -t ezkrg/bitlbee-libpurple:test .
+ - docker buildx build --load --cache-from ezkrg/cache:bitlbee-libpurple --cache-to ezkrg/cache:bitlbee-libpurple -t ezkrg/bitlbee-libpurple:test . --platform linux/amd64,linux/arm64,linux/armhf
- docker push ezkrg/bitlbee-libpurple:test
- name: release
@@ -44,7 +45,7 @@ steps:
- tag
---
-kind: pipeline
+kind: pipeline
type: docker
name: notification