From 927141c4e9355fb9cefa77d51cf498737087b37e Mon Sep 17 00:00:00 2001 From: Pierre Lecerf Date: Fri, 2 Oct 2026 19:43:52 +0200 Subject: [PATCH] fix(docker): multi-arch build in GH action --- .github/workflows/docker-publish.yml | 3 +++ doc/docker/README.md | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 18870da..8536d08 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -19,6 +19,8 @@ jobs: cache: 'maven' - name: Package application run: mvn --batch-mode clean package -DskipTests -Drevision=${{ github.ref_name }} -Dgpg.skip=true + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub @@ -40,6 +42,7 @@ jobs: context: . file: src/main/docker/Dockerfile.jvm push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - name: Update Docker Hub Description diff --git a/doc/docker/README.md b/doc/docker/README.md index aa401fc..fee1d1a 100644 --- a/doc/docker/README.md +++ b/doc/docker/README.md @@ -1,10 +1,5 @@ # Wombat Carbon Tracker -[![Build](https://github.com/illuin-tech/wombat/actions/workflows/maven-build.yml/badge.svg?branch=master)](https://github.com/illuin-tech/wombat/actions/workflows/maven-build.yml) -[![Docker Image Version](https://img.shields.io/docker/v/illuin/wombat)](https://hub.docker.com/r/illuin/wombat) -[![codecov](https://codecov.io/gh/illuin-tech/wombat/graph/badge.svg?token=T141JE2VMY)](https://codecov.io/gh/illuin-tech/wombat-core) -![GitHub](https://img.shields.io/github/license/illuin-tech/wombat) - Wombat is a multi-criteria environmental impact tracker for digital and AI services. Its goal is to streamline the use of astounding work being done by others on environmental footprint calculators, methodology and referential data (namely works from [Boavizta](https://boavizta.org/en), [SustainableAIGroup](https://reports.sustainableaigroup.com/CLEER-Tech-Report/), [Ecologits](https://ecologits.ai)..) and use it where it has the biggest impact: