ci: fix build on ubuntu OCI.

This commit is contained in:
Alexandre Pujol 2025-04-05 00:11:41 +02:00
parent 07b7f5c13d
commit 4d3025e249
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -89,7 +89,7 @@ debian:
- sudo chown -R build:build /builds/
- git config --global --add safe.directory $CI_PROJECT_DIR
- mkdir -p "$PKGDEST"
- sudo apt-get update -q && sudo apt-get install -y config-package-dev
- sudo apt-get update -q && sudo apt-get install -y config-package-dev lsb_release
- sudo apt-get install -y -t bookworm-backports golang-go
- bash dists/build.sh dpkg
artifacts:
@ -101,10 +101,9 @@ ubuntu:
stage: build
image: registry.gitlab.com/roddhjav/builders/ubuntu:24.04
script:
- sudo chown -R ubuntu:ubuntu /builds/
- git config --global --add safe.directory $CI_PROJECT_DIR
- mkdir -p "$PKGDEST"
- sudo apt-get update -q && sudo apt-get install -y config-package-dev golang-go
- sudo apt-get update -q && sudo apt-get install -y config-package-dev golang-go lsb_release
- bash dists/build.sh dpkg
artifacts:
expire_in: 1 day