diff options
author | Aria Taylor <ari@aricodes.net> | 2021-09-13 02:44:55 +0000 |
---|---|---|
committer | Aria Taylor <ari@aricodes.net> | 2021-09-13 02:52:32 +0000 |
commit | 6427234ea7078b4449e71db17a49d4d2650306b2 (patch) | |
tree | cd9f278c1f4f3ad0cc04411df7bd4c2bd6d3c4c1 | |
parent | note mooomooos work (diff) | |
download | docker-bitlbee-libpurple-6427234ea7078b4449e71db17a49d4d2650306b2.tar.gz docker-bitlbee-libpurple-6427234ea7078b4449e71db17a49d4d2650306b2.zip |
Build for multiple platforms
-rw-r--r-- | .drone.yml | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |