aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAttila Szabó <ezkrg@ezkrg.me>2021-09-14 20:52:27 +0000
committerGitHub <noreply@github.com>2021-09-14 20:52:27 +0000
commit6b56b0a095f8c97ce689458a2ca170e668632ccb (patch)
treecd9f278c1f4f3ad0cc04411df7bd4c2bd6d3c4c1
parentnote mooomooos work (diff)
parentBuild for multiple platforms (diff)
downloaddocker-bitlbee-libpurple-6b56b0a095f8c97ce689458a2ca170e668632ccb.tar.gz
docker-bitlbee-libpurple-6b56b0a095f8c97ce689458a2ca170e668632ccb.zip
Merge pull request #23 from markrawls/master
Build for ARM platforms
Diffstat (limited to '')
-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