Skip to content
Snippets Groups Projects
Verified Commit 86504b7a authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

Use multiarch build engine container

parent a2a6b3bc
Branches
Tags
No related merge requests found
image: quay.io/sheogorath/build-ah-engine image: quay.io/othermo/build-ah-engine
variables: variables:
GIT_SUBMODULE_STRATEGY: 'recursive' GIT_SUBMODULE_STRATEGY: 'recursive'
...@@ -7,15 +7,7 @@ before_script: ...@@ -7,15 +7,7 @@ before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-aarch64: build-aarch64:
image: docker.io/library/fedora:32
stage: build 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: script:
- podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" || true - 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" . - podman build --layers=false --cache-from "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" --tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-aarch64" .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment