From 5a6633e8bfaf71927d88d722ad65d32fe6107189 Mon Sep 17 00:00:00 2001
From: Alexander Wellbrock <a.wellbrock@mailbox.org>
Date: Thu, 14 Jan 2021 14:30:46 +0100
Subject: [PATCH] add aarch64 build job

Since we support the alternative name aarch64 for arm64 we should also
provide an optional build job for it in the template.

The build-ah-engine will per default only build amd64 and arm64
---
 gitlab-ci-template.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gitlab-ci-template.yml b/gitlab-ci-template.yml
index 8c8ffca..c15c028 100644
--- a/gitlab-ci-template.yml
+++ b/gitlab-ci-template.yml
@@ -48,6 +48,15 @@ container-build-arm64:
   rules:
     - if: '$CI_CONTAINER_BUILD_ARCHS =~ /:?arm64:?/ && $CI_PIPELINE_SOURCE != "merge_request_event"'
 
+container-build-aarch64:
+  extends: .container-build
+  variables:
+    CI_REGISTRY_IMAGE_ARCH: aarch64
+  tags:
+    - aaarch64
+  rules:
+    - if: '$CI_CONTAINER_BUILD_ARCHS =~ /:?aarch64:?/ && $CI_PIPELINE_SOURCE != "merge_request_event"'
+
 container-tagging:
   stage: tag
   inherit:
-- 
GitLab