From 8a5c331be657417531c403973fc3caaf67dc7799 Mon Sep 17 00:00:00 2001
From: Julian Rother <julian@cccv.de>
Date: Thu, 1 Feb 2024 19:31:55 +0100
Subject: [PATCH] Build package on (and for) Debian Bookworm

---
 .gitlab-ci.yml | 28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 958269e..053f9e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ autoupdate:
 
 .build:binary:
   extends: .build
-  image: registry.git.cccv.de/infra/packages/docker-images/bullseye
+  image: registry.git.cccv.de/infra/packages/docker-images/bookworm
   script:
   - git clone --depth 1 --branch ${UPSTREAM_VERSION} https://github.com/RocketChat/Rocket.Chat rocketchat
   - NODEJS_VERSION="$(jq -r .engines.node rocketchat/package.json)"
@@ -42,31 +42,21 @@ autoupdate:
     paths:
     - build
 
-build:binary:bullseye:
+build:binary:bookworm:
   extends: .build:binary
 
-package:apt:bullseye:
+package:apt:bookworm:
   extends: .package:apt
   dependencies:
-  - build:binary:bullseye
+  - build:binary:bookworm
   needs:
-  - build:binary:bullseye
+  - build:binary:bookworm
 
-# for now, publish the bullseye package for buster as well
-publish:apt:buster:
+publish:apt:bookworm:
   extends: .publish:apt
   variables:
-    APTLY_DISTRO: buster
+    APTLY_DISTRO: bookworm
   dependencies:
-  - package:apt:bullseye
+  - package:apt:bookworm
   needs:
-  - package:apt:bullseye
-
-publish:apt:bullseye:
-  extends: .publish:apt
-  variables:
-    APTLY_DISTRO: bullseye
-  dependencies:
-  - package:apt:bullseye
-  needs:
-  - package:apt:bullseye
+  - package:apt:bookworm
-- 
GitLab