Compare commits

...

3 Commits

Author SHA1 Message Date
Ricard Illa e7ac4f13b3
buildx for arm64 and amd64 2022-08-22 11:57:23 +02:00
Ricard Illa ff963159a9
make buildx instance use host network to keep dns as expected 2022-08-17 00:15:44 +02:00
Ricard Illa 2e72f3cc0a
drone ci 2022-08-17 00:15:06 +02:00
3 changed files with 10 additions and 2 deletions

8
.drone.yml Normal file
View File

@ -0,0 +1,8 @@
kind: pipeline
name: default
steps:
- name: build and push
image: registry.monotremata.xyz/buildx-qemu
commands:
- make

View File

@ -1,7 +1,7 @@
#!/bin/sh
update-binfmts --enable
docker buildx create --use
docker buildx create --driver docker-container --driver-opt network=host --name image-builder --use
docker buildx inspect --bootstrap
exec "$@"

View File

@ -1,7 +1,7 @@
IMG_NAME=transmission
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/arm64
PLATFORMS=linux/amd64,linux/arm64
.PHONY: build push buildx