From a6f489dba0d30f4ba1a5e07822db4c2f79b2c62e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Fri, 9 Dec 2022 11:29:25 +0100
Subject: [PATCH] CI:deploy and uploadftp: extends infrastructe again to set
 the image correctly

Without this the image was not defined and the runners default image is
used. This is against the concept to store image revisions in the
commits to keep things running after an upgrade and didn't work because
the default image has no python.
---
 build-yocto.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build-yocto.yml b/build-yocto.yml
index f0effd61..d3e04e39 100644
--- a/build-yocto.yml
+++ b/build-yocto.yml
@@ -115,6 +115,7 @@
 # --------------------------------------------------------------------------------------
 .deployimage:
   extends:
+    - .infrastructure
     - .package
   tags:
     - deploy
@@ -135,6 +136,7 @@
   variables:
     CI_PARAM_PACKAGE_FTP: "true"
   extends:
+    - .infrastructure
     - .package
   tags:
     - deploy
-- 
GitLab