Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Get images on gilab registry

Open Christophe Chaudier requested to merge get_images_on_gilab_registry into main
4 files
+ 21
2
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 14
0
 
get_images:
 
stage: .pre
 
image:
 
name: gcr.io/go-containerregistry/crane:debug
 
entrypoint: [""]
 
script:
 
- |
 
crane auth login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
 
while IFS= read -r image; do
 
if [ ! -z "${image}" ]; then
 
echo "📥 Download image: $image"
 
crane copy "${image}" "${CI_REGISTRY_IMAGE}/${image}"
 
fi
 
done < .gitlab/ci/images.txt
Loading