diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d25589b0cfc3957ee48b6c8618a8315b0087fd5..b4096aba3ec6ac3bc9b8073a56d86bc8b6bfb202 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,5 @@
 image: rustlang/rust:nightly-bullseye
 
-
 stages:
   - build
   - test
@@ -13,19 +12,11 @@ before_script:
 
 
 # build stable and nightly with bullseye
-build-nightly:
-  stage: build
-  script:
-    - cargo build
-
-build-stable:
+build:
   stage: build
-  image: rust:bullseye
-  allow_failure: true
   script:
     - cargo build
 
-
 # test nightly
 test:
   stage: build
@@ -34,7 +25,7 @@ test:
 
 
 # build debian package
-deb-nightly:
+deb-bullseye:
   stage: build
   script:
     - cargo install cargo-deb
@@ -49,7 +40,7 @@ pages:
   stage: deploy
   only:
     - master
-  needs: ["deb-nightly"]
+  needs: ["deb-bullseye", "test"]
   script:
     - mkdir -p public
     - cp -vr target/debian/*.deb public/ffdyndns.deb