From d48fec8efe4228cdb185506f348e4d72e8b4af4d Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Tue, 14 May 2024 10:24:41 +0200
Subject: [PATCH] [template][gitlab-ci] Specify the image to use for deploy and
 pypi jobs

Currently, these jobs uses the default image (whatever it is) but it
looks like a recent update removed curl from it and likely git as well
and thus breaks these jobs.

To avoid that, lets use the same image as the Linux build jobs since
they have all what is required.
---
 bob/devtools/data/gitlab-ci/single-package.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bob/devtools/data/gitlab-ci/single-package.yaml b/bob/devtools/data/gitlab-ci/single-package.yaml
index 772b77bd..9dbdb018 100644
--- a/bob/devtools/data/gitlab-ci/single-package.yaml
+++ b/bob/devtools/data/gitlab-ci/single-package.yaml
@@ -129,6 +129,7 @@ build_linux_310:
 # Deploy targets
 .deploy_template:
   extends: .bootstrap
+  image: quay.io/condaforge/linux-anvil-cos7-x86_64
   stage: deploy
   script:
     - git config --global --add safe.directory ${CI_PROJECT_DIR}
@@ -165,6 +166,7 @@ deploy_stable:
 
 pypi:
   extends: .bootstrap
+  image: quay.io/condaforge/linux-anvil-cos7-x86_64
   stage: pypi
   environment: pypi
   only:
-- 
GitLab