Change arm64 generation to use the docker version

This commit is contained in:
Tanguy Herbron 2022-05-24 21:06:32 +02:00
parent c3d71ab92c
commit 2b5a6dd919

View File

@ -27,14 +27,16 @@ build-x86:
expire_in: 1 mos 8 days expire_in: 1 mos 8 days
build-arm64: build-arm64:
image: debian:latest image: docker:latest
stage: build stage: build
services:
- name: docker:dind
script: script:
- apt update - apt update
- apt install -y git quilt parted qemu-user-static debootstrap zerofree libarchive-tools qemu-utils kpartx pigz zip dosfstools libcap2-bin rsync xz-utils curl xxd file kmod bc - apt install -y git
- git clone --depth 1 -b arm64 https://github.com/RPi-Distro/pi-gen - git clone --depth 1 -b arm64 https://github.com/RPi-Distro/pi-gen
- cd pi-gen - cd pi-gen
- ./build.sh -c ../config - ./build-docker.sh -c ../config
artifacts: artifacts:
paths: paths:
- ./pi-gen/deploy/*-Halia-arm64-lite.img - ./pi-gen/deploy/*-Halia-arm64-lite.img