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
Unverified Commit cfb55d6f authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

ci: get base images on gitlab registry

parent 0a4d5498
No related branches found
No related tags found
1 merge request!1Get images on gilab registry
Pipeline #62713 failed
include:
- local: '.gitlab/ci/get_images.yml'
rules:
- if: $GET_IMAGES == "true"
- local: '.gitlab/ci/lint.yml'
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
alpine:3.21
tianon/true
lint:
stage: test
image: alpine:3.21
image: ${CI_REGISTRY_IMAGE}/alpine:3.21
script:
- echo "🔎 Lint"
- echo "🔎 Lint"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment