From 37c515bec4a35ffeb155922e9b3890be640b2106 Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Mon, 30 Jan 2023 23:03:18 +0100 Subject: [PATCH] Improve multi-arch builds - Use docker buildx to build the container for different architectures - Upload build artifacts properly --- .woodpecker.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2f79c43..f9a6ace 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,11 @@ pipeline: docker: - image: plugins/docker + image: woodpeckerci/plugin-docker-buildx settings: registry: gitea.massivebox.net repo: gitea.massivebox.net/massivebox/ecodash + platforms: linux/amd64,linux/arm64 auto_tag: true username: massivebox password: @@ -30,7 +31,9 @@ pipeline: image: plugins/gitea-release settings: base_url: https://gitea.massivebox.net - files: ecodash-x86.zip ecodash-arm.zip + files: + - ecodash-x86.zip + - ecodash-arm.zip api_key: from_secret: auth_token title: ${CI_COMMIT_TAG}