From 86504b7a211042ee923b5d93cefa2bec4540199e Mon Sep 17 00:00:00 2001
From: Alexander Wellbrock <a.wellbrock@mailbox.org>
Date: Mon, 3 Aug 2020 15:22:38 +0200
Subject: [PATCH] Use multiarch build engine container

---
 .gitlab-ci.yml | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1f50fed..5aedebf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: quay.io/sheogorath/build-ah-engine
+image: quay.io/othermo/build-ah-engine
 
 variables:
   GIT_SUBMODULE_STRATEGY: 'recursive'
@@ -7,15 +7,7 @@ before_script:
   - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
 
 build-aarch64:
-  image: docker.io/library/fedora:32
   stage: build
-  before_script:
-    # Build engine for aarch64
-    - dnf install -y git podman buildah findutils
-    - sed -e 's/cgroup_manager =.*/cgroup_manager = "cgroupfs"/' /usr/share/containers/containers.conf > /etc/containers/containers.conf
-    - git config --global user.email "info@othermo.de"
-    - git config --global user.name "Othermo CI"
-    - cp storage.conf /etc/containers/storage.conf
   script:
     - podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" || true
     - podman build --layers=false --cache-from "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" --tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" .
-- 
GitLab