[gnome-build-meta/abderrahim/gitlab-ci-image: 2/2] .gitlab-ci.yml: pass the docker image to flat-manager child pipeline




commit 3bf6441e93448db369d9165be2403c8af20ee46a
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Wed Dec 15 16:19:00 2021 +0100

    .gitlab-ci.yml: pass the docker image to flat-manager child pipeline
    
    This fixes 0fdd9a568ff6b4c0559b2397421acdc2c99c0e87
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1410>

 .gitlab-ci.yml              | 2 ++
 .gitlab-ci/flat-manager.yml | 1 +
 2 files changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99b141fe6..a3acfcdbd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -199,6 +199,8 @@ generate-deploy-config:
       TARGETS: flatpak-runtimes.bst
       TARGETS_nightly: flatpak-platform-extensions.bst
       ENVIRONMENT_NAME: '$ENVIRONMENT_NAME'
+      DOCKER_REGISTRY: '$DOCKER_REGISTRY'
+      DOCKER_IMAGE_ID: '$DOCKER_IMAGE_ID'
 
     END
   - cat flatpak-variables.yml .gitlab-ci/flat-manager.yml > flatpak-deploy.yml
diff --git a/.gitlab-ci/flat-manager.yml b/.gitlab-ci/flat-manager.yml
index 24cc67636..28bccfb3d 100644
--- a/.gitlab-ci/flat-manager.yml
+++ b/.gitlab-ci/flat-manager.yml
@@ -7,6 +7,7 @@ stages:
 - finish
 
 default:
+  image: "${DOCKER_REGISTRY}/bst16:${DOCKER_IMAGE_ID}"
   before_script:
   # Ensure the log directory exists
   - mkdir -p logs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]