Improve multi-arch builds

- Use docker buildx to build the container for different architectures
- Upload build artifacts properly
This commit is contained in:
MassiveBox 2023-01-30 23:03:18 +01:00
parent 7a1214d492
commit 37c515bec4

View file

@ -1,10 +1,11 @@
pipeline: pipeline:
docker: docker:
image: plugins/docker image: woodpeckerci/plugin-docker-buildx
settings: settings:
registry: gitea.massivebox.net registry: gitea.massivebox.net
repo: gitea.massivebox.net/massivebox/ecodash repo: gitea.massivebox.net/massivebox/ecodash
platforms: linux/amd64,linux/arm64
auto_tag: true auto_tag: true
username: massivebox username: massivebox
password: password:
@ -30,7 +31,9 @@ pipeline:
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
base_url: https://gitea.massivebox.net base_url: https://gitea.massivebox.net
files: ecodash-x86.zip ecodash-arm.zip files:
- ecodash-x86.zip
- ecodash-arm.zip
api_key: api_key:
from_secret: auth_token from_secret: auth_token
title: ${CI_COMMIT_TAG} title: ${CI_COMMIT_TAG}