From 90323b378bf3173a9b40fca9249700a2f090b5f5 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Fri, 31 May 2024 11:31:50 +0200 Subject: [PATCH] Build for arm architecture --- .gitlab-ci.yml | 1 + compose.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d02158..db2c259 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,7 @@ build: before_script: - !reference [.auth_gitlab, before_script] script: + - docker buildx create --use - docker compose build godash - docker tag $CURRENT_IMAGE $LATEST_IMAGE - docker push $CURRENT_IMAGE diff --git a/compose.yml b/compose.yml index a00d022..2bb93fd 100644 --- a/compose.yml +++ b/compose.yml @@ -90,6 +90,9 @@ services: build: context: . dockerfile: Dockerfile + platforms: + - linux/amd64 + - linux/arm64 args: - V_GOLANG=${V_GOLANG} - V_NODE=${V_NODE}